aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmleventtype.h
Commit message (Collapse)AuthorAgeFilesLines
* Make some qHash and comparison operators overloads hidden friendshjk2021-12-061-3/+0
| | | | | | | Restricts lookup scope more to necessary bits. Change-Id: Ia42c95aaa70534843b7f6a90bfc56d2a1202c612 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlProfiler: ModernizeAlessandro Portale2018-12-021-1/+1
| | | | | | | modernize-* Change-Id: Ibdf9c0ae91bf8a622facc7f323112b550f532f15 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Tracing: Make sure we don't cast between different kinds of eventsUlf Hermann2018-07-161-0/+2
| | | | | | | | Add a classId to TraceEvent and TraceEventType and add is() and as() methods that check for it. Change-Id: I76fe1df624516b36db90d57d4788b17e0b690726 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Move Timeline and FlameGraph into a common "Tracing" libraryUlf Hermann2018-05-041-1/+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>
* Move parts of QmlEvent and QmlEventType to timelineUlf Hermann2018-04-171-28/+5
| | | | | | | | | | | | | | | Timeline will become a generic trace handling library. It needs some abstract concept of events and event types. Move operator== and operator!= for QmlEvent into the test as we don't use them anywhere else. Move the operators for QmlEventType to QmlProfilerTraceClient. We want to get rid of the hash there as soon as we can assume that no application we want to profile doesn't support server type IDs. Change-Id: Icde4e3e7634e387171dc1d8bef7bbe8e71684a1a Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* QmlProfiler: Make various primitive types Q_MOVABLE_TYPEUlf Hermann2016-12-201-0/+4
| | | | | Change-Id: I08c37b33fcc2ec8c3610d52a55571878ff8bdc7d Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
* QmlProfiler: Move qHash and operator== for QmlEventTypeUlf Hermann2016-06-101-0/+20
| | | | | | | | It makes more sense to have them in the same location as the actual type. Change-Id: Ia27970173d14cfe361d4fc007cb461f788350b21 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Provide a sane ctor for QmlEventType and use itUlf Hermann2016-06-101-39/+28
| | | | | | | | ... in turn, make its members private, so that we don't accidentally change them. Change-Id: Ibc65b406ee341d33f69647ed1b19e1e34f5cd535 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* QmlProfiler: Methods for dispatching events by featureUlf Hermann2016-05-231-0/+27
| | | | | | | | | When announcing features models have to provide functions that handle events for those features now. The model manager gets a function to dispatch events to the models that subscribe to them. Change-Id: I3fd80443a68ba264a513d8d53ed473cf072f1dc7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QmlProfiler: Provide stream operators for QmlEventType and QmlNoteUlf Hermann2016-05-101-0/+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-1/+1
| | | | | | | This way the file name matches the class name. Change-Id: I6e65b0ea13a7e5b15d4c7e5ad7738fc03e3401ad Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QmlProfiler: Add some Q_DECLARE_METATYPEUlf Hermann2016-05-101-0/+3
| | | | | Change-Id: If09ce20e997087ff73eb60bb16ef2e501280944d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QmlProfiler: Apply some code cosmeticsUlf Hermann2016-05-061-3/+3
| | | | | Change-Id: I772713aec3a6c25136174b39b853a9ef3ee42a0b Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* QmlProfiler: Fix the naming scheme for events and event typesUlf Hermann2016-05-041-0/+50
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>