diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-08-28 12:50:46 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-08-31 09:19:32 +0000 |
commit | f1ede40500f908e4bef9ede85aa46571a1a075aa (patch) | |
tree | 26b1baf4f965096dc7efab27c0cf1a2c8884c968 /src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp | |
parent | bd9b487584d51a0e993b326a0e6b4739e4db0d3e (diff) |
QmlProfiler: Expose flush interval to user
Flushing data while the application is running can distort the results
because the flushing itself takes time. However, not flushing leads to
longer load times in the end and higher memory usage. The best strategy
depends on the application being analyzed and the users should decide
if they want to flush or not.
The settings infrastructure also paves the way for preserviing the
layout of the timeline and statistics views as well as the category
filters across sessions.
Change-Id: I2cdc37c7fc7eb9b05b6870955ddffaa712d6c956
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp index 0c022ac3b29..a0bf9a6199f 100644 --- a/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp @@ -31,6 +31,7 @@ #include "qmlprofilerruncontrolfactory.h" #include "localqmlprofilerrunner.h" #include "qmlprofilerruncontrol.h" +#include "qmlprofilerrunconfigurationaspect.h" #include <analyzerbase/ianalyzertool.h> @@ -92,5 +93,11 @@ RunControl *QmlProfilerRunControlFactory::create(RunConfiguration *runConfigurat return LocalQmlProfilerRunner::createLocalRunControl(runConfiguration, sp, errorMessage); } +ProjectExplorer::IRunConfigurationAspect * +QmlProfilerRunControlFactory::createRunConfigurationAspect(ProjectExplorer::RunConfiguration *rc) +{ + return new QmlProfilerRunConfigurationAspect(rc); +} + } // namespace Internal } // namespace QmlProfiler |