forked from qt-creator/qt-creator
Introduce perf profiler run mode
Change-Id: I6e53dae3ba42e938b418a6657e677953cf7da4e9 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -82,6 +82,7 @@ RunControl *AndroidRunControlFactory::create(RunConfiguration *runConfig,
|
||||
case MemcheckRunMode:
|
||||
case MemcheckWithGdbRunMode:
|
||||
case ClangStaticAnalyzerMode:
|
||||
case PerfProfilerRunMode:
|
||||
QTC_CHECK(false); // The other run modes are not supported
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -275,7 +275,8 @@ enum RunMode {
|
||||
CallgrindRunMode,
|
||||
MemcheckRunMode,
|
||||
MemcheckWithGdbRunMode,
|
||||
ClangStaticAnalyzerMode
|
||||
ClangStaticAnalyzerMode,
|
||||
PerfProfilerRunMode
|
||||
};
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
@@ -196,6 +196,7 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo
|
||||
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
|
||||
return runControl;
|
||||
}
|
||||
case PerfProfilerRunMode:
|
||||
case NoRunMode:
|
||||
case CallgrindRunMode:
|
||||
case MemcheckRunMode:
|
||||
|
||||
@@ -124,6 +124,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
|
||||
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
|
||||
return runControl;
|
||||
}
|
||||
case PerfProfilerRunMode:
|
||||
case NoRunMode:
|
||||
case CallgrindRunMode:
|
||||
case MemcheckRunMode:
|
||||
|
||||
Reference in New Issue
Block a user