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/qmlprofilerclientmanager.h | |
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/qmlprofilerclientmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index 2bb463420e..ee62dec079 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -59,6 +59,8 @@ public: bool isConnected() const; void setModelManager(QmlProfilerModelManager *m); + void setFlushInterval(quint32 flushInterval); + signals: void connectionFailed(); void connectionClosed(); |