diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-11-03 00:24:29 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-11-19 00:51:02 (GMT) |
commit | 458c237ea807330de8b15cb2b6e99f564bb7fd66 (patch) | |
tree | bc96856677be08f3d8e59312738ea22232c03dfb /src/declarative/debugger | |
parent | 3d100ab29820b4dcf14afbcadb05d0bf40fdacbc (diff) | |
download | Qt-458c237ea807330de8b15cb2b6e99f564bb7fd66.zip Qt-458c237ea807330de8b15cb2b6e99f564bb7fd66.tar.gz Qt-458c237ea807330de8b15cb2b6e99f564bb7fd66.tar.bz2 |
Use high performance timer for profiling. Add binding profile info.
Diffstat (limited to 'src/declarative/debugger')
-rw-r--r-- | src/declarative/debugger/qdeclarativedebugtrace_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugtrace_p.h b/src/declarative/debugger/qdeclarativedebugtrace_p.h index 704c49a..d6fe0b0 100644 --- a/src/declarative/debugger/qdeclarativedebugtrace_p.h +++ b/src/declarative/debugger/qdeclarativedebugtrace_p.h @@ -43,7 +43,7 @@ #define QDECLARATIVEDEBUGTRACE_P_H #include <private/qdeclarativedebugservice_p.h> -#include <QtCore/qelapsedtimer.h> +#include <private/qperformancetimer_p.h> QT_BEGIN_HEADER @@ -74,6 +74,7 @@ public: Painting, Compiling, Creating, + Binding, MaximumRangeType }; @@ -90,7 +91,7 @@ private: void startRangeImpl(RangeType); void rangeDataImpl(RangeType, const QUrl &); void endRangeImpl(RangeType); - QElapsedTimer m_timer; + QPerformanceTimer m_timer; }; QT_END_NAMESPACE |