diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-07-08 12:33:46 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-07-09 13:52:06 +0300 |
commit | ef51b12f993b88c1ba57f7921e74c36c8a699b3e (patch) | |
tree | e047478dfa5ede0dd8f0e380ce1ed79ac86ef292 /plugins | |
parent | 8c260ba1a6a28fec32d3ea31dd6bbd92965da672 (diff) | |
download | qt-creator-ef51b12f993b88c1ba57f7921e74c36c8a699b3e.tar.gz |
Replace lastTimeMark with traceEndTime for end time of memory profiler
lastTimeMark is just the end of the last recorded event. The memory
will still be allocated after that.
Change-Id: Ica12993d7b1572c145bba6373461240a5e846fa9
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/qmlprofilerextension/memoryusagemodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/qmlprofilerextension/memoryusagemodel.cpp b/plugins/qmlprofilerextension/memoryusagemodel.cpp index 8cf9a42158..8bd6ff2741 100644 --- a/plugins/qmlprofilerextension/memoryusagemodel.cpp +++ b/plugins/qmlprofilerextension/memoryusagemodel.cpp @@ -269,10 +269,10 @@ void MemoryUsageModel::loadData() } if (currentJSHeapIndex != -1) - d->insertEnd(currentJSHeapIndex, simpleModel->lastTimeMark() - + d->insertEnd(currentJSHeapIndex, traceEndTime() - d->range(currentJSHeapIndex).start - 1); if (currentUsageIndex != -1) - d->insertEnd(currentUsageIndex, simpleModel->lastTimeMark() - + d->insertEnd(currentUsageIndex, traceEndTime() - d->range(currentUsageIndex).start - 1); |