use of com.android.tools.idea.ddms.actions.ToggleMethodProfilingAction in project android by JetBrains.
the class CpuMonitorView method getToolbarActions.
@Override
@NotNull
public ActionGroup getToolbarActions() {
DefaultActionGroup group = new DefaultActionGroup();
group.add(new RecordingAction(this));
group.add(new Separator());
group.add(new ToggleMethodProfilingAction(myProject, myDeviceContext));
//group.add(new MyThreadDumpAction()); // thread dump -> systrace
group.add(new Separator());
group.add(new BrowserHelpAction("CPU monitor", "http://developer.android.com/r/studio-ui/am-cpu.html"));
return group;
}
Aggregations