diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-03-17 14:52:01 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-18 12:02:48 +0100 |
commit | d7ea461fde7a5d227313eda83b5af84ec9b0477b (patch) | |
tree | 4123a75392fa5ffb4fc0574c1e794bae311ad261 /tools/qmlprofiler/qmlprofilerdata.h | |
parent | 5977fbfd16f4d2d268dfecc48b1120a1f0dcf004 (diff) |
Save painting events in Qt5 style with thread ID from qmlprofiler
This is necessary to support https://codereview.qt-project.org/80391
and to make the trace files consistent with Qt Creator's.
Change-Id: I45490c33ae9bd8fbbb6bace08bdc2f44c76bf966
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tools/qmlprofiler/qmlprofilerdata.h')
-rw-r--r-- | tools/qmlprofiler/qmlprofilerdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlprofiler/qmlprofilerdata.h b/tools/qmlprofiler/qmlprofilerdata.h index 134e7228af..a5d55ed6f6 100644 --- a/tools/qmlprofiler/qmlprofilerdata.h +++ b/tools/qmlprofiler/qmlprofilerdata.h @@ -88,7 +88,7 @@ public slots: const QmlEventLocation &location); void addV8Event(int depth, const QString &function, const QString &filename, int lineNumber, double totalTime, double selfTime); - void addFrameEvent(qint64 time, int framerate, int animationcount); + void addFrameEvent(qint64 time, int framerate, int animationcount, int threadId); void complete(); bool save(const QString &filename); |