aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/pixmapcachemodel.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-04-28 15:40:02 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-05-06 10:36:40 +0000
commit215c0533d20950d412e304dc41bc0bc93afac84f (patch)
treed6ae94409a4d407b3d2bbb15097f8cd14c093fc3 /src/plugins/qmlprofiler/pixmapcachemodel.cpp
parenta53780924de223f56c5294d5ab9f501a602585bc (diff)
QmlProfiler: Rename QmlEvent::startTime to "timestamp"
As many events are instantaneous and we're going to drop the duration property soon, this is more fitting. Change-Id: I6e13dd076a5b9df16aed44bf9f631ea5760e9cbf Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/pixmapcachemodel.cpp')
-rw-r--r--src/plugins/qmlprofiler/pixmapcachemodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/pixmapcachemodel.cpp b/src/plugins/qmlprofiler/pixmapcachemodel.cpp
index 35aad750e52..3adace69c70 100644
--- a/src/plugins/qmlprofiler/pixmapcachemodel.cpp
+++ b/src/plugins/qmlprofiler/pixmapcachemodel.cpp
@@ -182,7 +182,7 @@ void PixmapCacheModel::loadData()
PixmapCacheItem newEvent;
newEvent.pixmapEventType = static_cast<PixmapEventType>(type.detailType);
- qint64 pixmapStartTime = event.startTime();
+ qint64 pixmapStartTime = event.timestamp();
newEvent.urlIndex = -1;
for (QVector<Pixmap>::const_iterator it(m_pixmaps.cend()); it != m_pixmaps.cbegin();) {
@@ -232,7 +232,7 @@ void PixmapCacheModel::loadData()
break;
}
case PixmapCacheCountChanged: {// Cache Size Changed Event
- pixmapStartTime = event.startTime() + 1; // delay 1 ns for proper sorting
+ pixmapStartTime = event.timestamp() + 1; // delay 1 ns for proper sorting
bool uncache = cumulatedCount > event.numericData(2);
cumulatedCount = event.numericData(2);
@@ -348,7 +348,7 @@ void PixmapCacheModel::loadData()
}
PixmapState &state = pixmap.sizes[newEvent.sizeIndex];
- // If the pixmap loading wasn't started, start it at traceStartTime()
+ // If the pixmap loading wasn't started, start it at tracetimestamp()
if (state.loadState == Initial) {
newEvent.pixmapEventType = PixmapLoadingStarted;
newEvent.typeId = event.typeIndex();