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 MemcheckRunMode:
|
||||||
case MemcheckWithGdbRunMode:
|
case MemcheckWithGdbRunMode:
|
||||||
case ClangStaticAnalyzerMode:
|
case ClangStaticAnalyzerMode:
|
||||||
|
case PerfProfilerRunMode:
|
||||||
QTC_CHECK(false); // The other run modes are not supported
|
QTC_CHECK(false); // The other run modes are not supported
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -275,7 +275,8 @@ enum RunMode {
|
|||||||
CallgrindRunMode,
|
CallgrindRunMode,
|
||||||
MemcheckRunMode,
|
MemcheckRunMode,
|
||||||
MemcheckWithGdbRunMode,
|
MemcheckWithGdbRunMode,
|
||||||
ClangStaticAnalyzerMode
|
ClangStaticAnalyzerMode,
|
||||||
|
PerfProfilerRunMode
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ProjectExplorer
|
} // namespace ProjectExplorer
|
||||||
|
|||||||
@@ -196,6 +196,7 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo
|
|||||||
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
|
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
|
||||||
return runControl;
|
return runControl;
|
||||||
}
|
}
|
||||||
|
case PerfProfilerRunMode:
|
||||||
case NoRunMode:
|
case NoRunMode:
|
||||||
case CallgrindRunMode:
|
case CallgrindRunMode:
|
||||||
case MemcheckRunMode:
|
case MemcheckRunMode:
|
||||||
|
|||||||
@@ -124,6 +124,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
|
|||||||
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
|
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
|
||||||
return runControl;
|
return runControl;
|
||||||
}
|
}
|
||||||
|
case PerfProfilerRunMode:
|
||||||
case NoRunMode:
|
case NoRunMode:
|
||||||
case CallgrindRunMode:
|
case CallgrindRunMode:
|
||||||
case MemcheckRunMode:
|
case MemcheckRunMode:
|
||||||
|
|||||||
Reference in New Issue
Block a user