aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofiler.pro
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2016-12-19 18:47:06 +0100
committerUlf Hermann <[email protected]>2017-02-21 10:43:47 +0000
commit548a86f57722fb9513baa87a3562d4138d93970f (patch)
treef515a334a7079bc4014ab1a8887aa2c720060cd1 /src/plugins/qmlprofiler/qmlprofiler.pro
parent8d7feb4bc7fffb37e25bfc706b964f80acb5a5df (diff)
QmlProfiler: Add text marks for QML/JS types into documents
The text marks are little labels next to the lines in the editor that tell you how much of total run time was spent in the respective QML/JS construct during the last profiling session. This is similar to what the valgrind profiler does. We add the text marks only when the documents are loaded into an editor. This keeps the number of text marks manageable. Multiple events on a single line are shown using a tooltip. Task-number: QTCREATORBUG-17757 Change-Id: Ie38b8ab880a718a1ef72ef343d84070ab34bc5bc Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofiler.pro')
-rw-r--r--src/plugins/qmlprofiler/qmlprofiler.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofiler.pro b/src/plugins/qmlprofiler/qmlprofiler.pro
index 154e348610b..3d4c392d001 100644
--- a/src/plugins/qmlprofiler/qmlprofiler.pro
+++ b/src/plugins/qmlprofiler/qmlprofiler.pro
@@ -43,7 +43,8 @@ SOURCES += \
qmlprofilertraceview.cpp \
qmlprofilerviewmanager.cpp \
qmltypedevent.cpp \
- scenegraphtimelinemodel.cpp
+ scenegraphtimelinemodel.cpp \
+ qmlprofilertextmark.cpp
HEADERS += \
debugmessagesmodel.h \
@@ -88,7 +89,8 @@ HEADERS += \
qmlprofilertraceview.h \
qmlprofilerviewmanager.h \
qmltypedevent.h \
- scenegraphtimelinemodel.h
+ scenegraphtimelinemodel.h \
+ qmlprofilertextmark.h
RESOURCES += \
qml/qmlprofiler.qrc