Replace QPerformanceTimer with QElapsedTimer.
authorMichael Brasser <michael.brasser@nokia.com>
Thu, 2 Jun 2011 23:50:04 +0000 (09:50 +1000)
committerMichael Brasser <michael.brasser@nokia.com>
Thu, 2 Jun 2011 23:50:04 +0000 (09:50 +1000)
commitcd6ebb4912a5d96c788ea0c838d8a1a06ff4029e
tree315b6191e961c1bb4cab972b62455740c574b15d
parentf97e25abe073bede66cc5683ae45baea3a528d44
Replace QPerformanceTimer with QElapsedTimer.

QElapsedTimer has added a nsecsElapsed() function, so QPerformanceTimer
is no longer needed.

Reviewed-by: Charles Yin
src/declarative/debugger/qdeclarativedebugtrace.cpp
src/declarative/debugger/qdeclarativedebugtrace_p.h
src/declarative/qml/qml.pri
src/declarative/qml/qperformancetimer.cpp [deleted file]
src/declarative/qml/qperformancetimer_p.h [deleted file]
tests/auto/declarative/qperformancetimer/qperformancetimer.pro [deleted file]
tests/auto/declarative/qperformancetimer/tst_qperformancetimer.cpp [deleted file]
tests/benchmarks/declarative/qdeclarativedebugtrace/qdeclarativedebugtrace.pro [new file with mode: 0644]
tests/benchmarks/declarative/qdeclarativedebugtrace/tst_qdeclarativedebugtrace.cpp [moved from tests/benchmarks/declarative/qperformancetimer/tst_qperformancetimer.cpp with 80% similarity]
tests/benchmarks/declarative/qperformancetimer/qperformancetimer.pro [deleted file]