aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofiler.qbs
Commit message (Collapse)AuthorAgeFilesLines
* QmlProfiler: Aspectify settingshjk2021-04-121-4/+1
| | | | | | | | | | | Only four simple values. Adapting qmlprofilerconfigwidget_test did not seem desirable, as in the aspectified state this is hidden in the base aspects implementations. Change-Id: I933a8ca065169c61b7f25f109e0b7a0e6d21cb33 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlProfiler: Fix comma in qbs fileNikolai Kosjar2018-05-291-1/+1
| | | | | Change-Id: I7ac4abf4b9a764c0d9ff2b7c3a8db299e92a2f7c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QmlProfiler: Move action registration out of QmlProfilerToolUlf Hermann2018-05-291-0/+1
| | | | | | | | | | | | | This enables us to have multiple QmlProfilerTool instances without conflicting action registrations. Ultimately there should be a way to unregister actions, or to add some extra description on which tool instance they refer to, but this is a minimal first step. The main problem this fixes for now is the warnings generated by the tests. Change-Id: I2193fc48a5a68c52f46e5567919f3035bc93df36 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Move Timeline and FlameGraph into a common "Tracing" libraryUlf Hermann2018-05-041-2/+1
| | | | | | | | | | This allows us to share code between the two, in particular the QML code for the Details window, and the theme code. This way we can potentially deduplicate some code. Change-Id: I3a0d26b18488bd2a46b5b077b5b5d79ac2dfc5ce Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlProfiler: Verify attached RunControl stops when connection closesUlf Hermann2018-01-091-0/+1
| | | | | | Change-Id: I2b7bd63c4e84fcb0e78318f810ed54e58468d05e Task-number: QTCREATORBUG-19496 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Test that attachToWaitingApplication tries to connectUlf Hermann2018-01-081-0/+1
| | | | | | Change-Id: Ic71cb60b70e9b68e455795511594a6be5739eb5f Task-number: QTCREATORBUG-19496 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Tests for QmlProfilerTraceClientUlf Hermann2017-11-221-0/+1
| | | | | | | | We run a number of test traces through the trace client and make sure that it doesn't crash and that the events reappear in the right order. Change-Id: I45bbeeb978f2ab147551aaafa74631f927c710e8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix qbs build regarding app_version.hNikolai Kosjar2017-09-061-0/+1
| | | | | Change-Id: I2b6bd8bf10221dc3d08ada30701d5b39cc763251 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlProfiler: Tests for QmlProfilerDetailsRewriterUlf Hermann2017-08-151-0/+3
| | | | | Change-Id: I26b7f71fad35d569e0fc70fe4f5eaf2796e607cf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Merge remote-tracking branch 'origin/4.3' into 4.4Eike Ziller2017-08-141-0/+1
|\ | | | | | | | | | | | | Conflicts: src/plugins/qmlprofiler/qmlprofilertraceview.cpp Change-Id: Ib1d75a8572f650898cb598d008867e2c0514d752
| * QmlProfiler: Avoid empty timeline when restricting to rangesUlf Hermann2017-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | The timeline models were suspended for editing but never restored. To test the correct behavior a test case for the trace view is added. Change-Id: Ic1803e9d84656eed97795f1f1674e3d56c83f650 Task-number: QTCREATORBUG-18354 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | QmlProfiler: Partially dissolve QmlProfilerRunControlFactoryhjk2017-07-131-1/+0
| | | | | | | | | | Change-Id: Id902cfa6387bcb6ad96da0cd36f3114f795afd99 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | QmlProfiler: Merge LocalQmlProfilerRunner and QmlProfilerRunnerhjk2017-06-121-1/+0
|/ | | | | | | Also streamline code paths in the result. Change-Id: Id7d96343a8f778ba8f415b1a850cc78576afa475 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlProfiler: Integrate QmlProfilerDataModel into model managerUlf Hermann2017-02-241-1/+0
| | | | | | | | There is no need to keep them separate as the data model is not accessed from the outside anymore. This removes a lot of indirection. Change-Id: I91da4dfa816295300c8cfcca22430d5c5b3298c0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Add text marks for QML/JS types into documentsUlf Hermann2017-02-211-0/+1
| | | | | | | | | | | | | | | 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 <hjk@qt.io>
* QmlProfiler: Add test for config widgetUlf Hermann2016-08-081-0/+1
| | | | | Change-Id: I468ed3c7f75b79d16231b57246e494e29a89b920 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Move flame graph view from QmlProfiler to separate libraryUlf Hermann2016-07-201-2/+2
| | | | | | | We want to use it for other profilers, too. Change-Id: Ice4bd7fdfce6e0153d62a7c9a83dc7de6d5cba30 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Add tests for client managerUlf Hermann2016-07-201-0/+1
| | | | | Change-Id: I9d758857dc65daa564ab6a0394250c02ea006832 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Remove dependency on sshUlf Hermann2016-07-181-1/+0
| | | | | | | QmlProfiler does not depend on ssh. Change-Id: I603b673a27fd4fa47246a71ae1f394d11f51a8b0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Add binding loops render pass testUlf Hermann2016-07-141-0/+2
| | | | | Change-Id: I64fbc8fae00e859ce6433ff85ceb5706675b88cc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Add test for attach dialogUlf Hermann2016-07-131-0/+1
| | | | | Change-Id: I040ef23f780e361037386a92444fcf45aded7a3f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Add test for animations modelUlf Hermann2016-07-131-0/+1
| | | | | Change-Id: I0227d9c97b2b61d68ae5ed9e3f2f7e3776075338 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlProfiler: Add tests for QmlNoteUlf Hermann2016-06-101-0/+1
| | | | | Change-Id: Ida4a3ad0adf59d9c21d6405ea6dcbfea5d41ba71 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for QmlEventTypeUlf Hermann2016-06-101-0/+1
| | | | | Change-Id: Id2ee8250c0e89637733a1454de4a60df42612904 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for QmlEventLocationUlf Hermann2016-06-101-0/+1
| | | | | Change-Id: I3d35c87f194e298a57d361053ad5a35efedd67dd Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for QmlEventUlf Hermann2016-06-081-0/+1
| | | | | Change-Id: I9933d6b6225becc66f954f9d00d2ae7091d0bbb1 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for pixmap cache modelUlf Hermann2016-06-081-0/+1
| | | | | Change-Id: Ic3114f6cd205434e2a489112d070300a3c842352 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* qbs build: Introduce new module "qtc".Christian Kandeler2016-06-081-1/+1
| | | | | | | | | The qtc module gathers properties that used to live in the top-level project file. This is the first step towards making it possible to build plugins against an installed Qt Creator ("out of source build"). Change-Id: Ia1514cc9c888e80be01b308e908de48980fcbdb8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QmlProfiler: Add test for memory usage modelUlf Hermann2016-06-061-0/+1
| | | | | Change-Id: I4364dd5211fee0d017e58fde8af36879d83f23a2 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for LocalQmlProfilerRunnerUlf Hermann2016-06-061-0/+1
| | | | | Change-Id: I5d770adace7096f945e6385a62383282df3e5745 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add test for input events modelUlf Hermann2016-06-061-0/+1
| | | | | Change-Id: I5af5c090312173cdfdb01f88923bfde1667e799b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add test for flame graph viewUlf Hermann2016-06-061-0/+1
| | | | | Change-Id: I5207e03ad8955f2d291d4fc1b7e5d33b64207379 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for flamegraph modelUlf Hermann2016-06-011-0/+1
| | | | | Change-Id: I185d06a059314f27fe48c5c2f2b92623b6611309 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add tests for FlameGraphUlf Hermann2016-06-011-0/+1
| | | | | Change-Id: I1eadb2675e16fcc61e073ea1a730ab065456f964 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add test for debug messages modelUlf Hermann2016-06-011-0/+9
| | | | | Change-Id: Ie6872646c09a89a417379a3e1f551526234ab26a Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Add data stream operators for QmlEventUlf Hermann2016-05-101-1/+1
| | | | | | | | We try to further compress the QML events when saving as we can use the additional space in that case. Change-Id: Ida308963685169d1daabd7936612628fd4d265ae Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QmlProfiler: Provide stream operators for QmlEventType and QmlNoteUlf Hermann2016-05-101-2/+3
| | | | | | | This is the foundation for a new file format. Change-Id: Ib5ae5bfe8b45d9dc654b443ab700186993c3bfc9 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: rename qmlprofilereventlocation.h to qmleventlocation.hUlf Hermann2016-05-101-2/+3
| | | | | | | This way the file name matches the class name. Change-Id: I6e65b0ea13a7e5b15d4c7e5ad7738fc03e3401ad Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QmlProfiler: Add a QmlTypedEvent and extend QmlEventUlf Hermann2016-05-091-0/+1
| | | | | | | | | | | | | | | | The QmlTypedEvent is mainly useful to read a generic QmlEvent and QmlEventType from a QPacket. QmlEventType has a stream operator to do exactly that. QmlEvent also gets further options to store 32-bit data in addition to 64- and 8-bit data. Also, with the more generic storage layout we can reduce the memory consumption of range events by 50%. This comes at the cost of additional memory allocations for non-range events, but as non-range events are significantly less frequent than range events, this is a good tradeoff. Finally the new storage layout lends itself to efficient serialization, which will help when developing new storage and transfer formats for QML traces. Change-Id: I420de68b0142f23c8fb2ca8b329d7ffe69c83fe0 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* QmlProfiler: Fix the naming scheme for events and event typesUlf Hermann2016-05-041-0/+1
| | | | | | | | | | Move them out of the QmlProfilerDataModel class, drop the "Data" suffix, and rename symbols that refer to them in order to call them by their names. Change-Id: I41151359921b325edb79111371083c4185bd148b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Move QmlProfiler specific files from qmldebug to qmlprofilerUlf Hermann2016-05-031-0/+3
| | | | | | | | | | These file were not used anywhere else and had no business to be in qmldebug to begin with. Moving them allows us to drop a number of namespace qualifications and forces us to rename a few local symbols in other classes in order to avoid name clashes. Change-Id: I658ed455eec027cbaddacf2980d2ea6827ae6205 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Remove timeline model factoryUlf Hermann2016-04-291-1/+0
| | | | | Change-Id: I173f23730f3b6c6b7fb41bb3810f2f21ae6b0acb Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Merge QmlProfiler and QmlProfilerExtension pluginsUlf Hermann2016-04-261-0/+8
| | | | | Change-Id: Iaa1de7afda664a7a0779f47d104f863a16a34976 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Move analyzerbase to debuggerhjk2016-02-251-1/+1
| | | | | | | | | | | | This is the first mechanical step to execute on the 'shared pool of debugger/analyzer views' idea. Future steps would be providing infrastructure for the view pool, making all analyzer/debugger views use the pool and then re-extract a sensible base for a 'analyzer-and/or-debugger' tool plugin interface. Change-Id: I1bb392e6dd3084fc56937956bee1d6fd9530335d Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* QmlProfiler: Rename QmlProfilerEventsModelProxyUlf Hermann2016-01-061-1/+1
| | | | | | | It is only used for the statistics view. Change-Id: I71027dd864715b4a2f95c2b11af0c0d83c514229 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* QmlProfiler: Rename "events" to "statistics" viewUlf Hermann2016-01-061-1/+2
| | | | | Change-Id: Id552e0ead056214a7d72dd618c54897b55cd5e38 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* QmlProfiler: Remove QmlProfilerBaseModelUlf Hermann2015-09-111-1/+0
| | | | | | | Now that the V8 model is gone we don't need a base model anymore. Change-Id: I35aee0627f78f417ec9c971e1c7bbf70adfc7b27 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* QmlProfiler: Expose flush interval to userUlf Hermann2015-08-311-1/+5
| | | | | | | | | | | | | | | | 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>
* Consistently rename QmlProfilerEngine to QmlProfilerRunControlUlf Hermann2015-07-081-2/+2
| | | | | | | | It's always a pain to search for the only RunControl that's called "engine" half of the time. Change-Id: I4cece9f8958ff989925d9efaaf6fb41731842647 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* QmlProfiler: Remove QmlProfilerTreeViewUlf Hermann2015-07-081-1/+0
| | | | | | | It doesn't really do anything useful. Change-Id: I84472d4baaf291a2daee145ef69ee39a836eff7c Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>