diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-11-03 05:12:16 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-11-19 00:51:06 (GMT) |
commit | 530b052bed6fd74699fead438035dc4684d83335 (patch) | |
tree | 9f5af5b70e6c4db47c75b2e660315e1a533be303 /src/declarative/qml/qdeclarativeboundsignal.cpp | |
parent | 1a8bf28261facf1e97cecf842fcbfff48b383984 (diff) | |
download | Qt-530b052bed6fd74699fead438035dc4684d83335.zip Qt-530b052bed6fd74699fead438035dc4684d83335.tar.gz Qt-530b052bed6fd74699fead438035dc4684d83335.tar.bz2 |
Add additional tracing.
Tracing for compile time, signal handlers, and deferred
creation.
Diffstat (limited to 'src/declarative/qml/qdeclarativeboundsignal.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeboundsignal.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeboundsignal.cpp b/src/declarative/qml/qdeclarativeboundsignal.cpp index 6af3e05..1bb92dd 100644 --- a/src/declarative/qml/qdeclarativeboundsignal.cpp +++ b/src/declarative/qml/qdeclarativeboundsignal.cpp @@ -49,6 +49,7 @@ #include "qdeclarative.h" #include "qdeclarativecontext.h" #include "private/qdeclarativeglobal_p.h" +#include "private/qdeclarativedebugtrace_p.h" #include <QtCore/qdebug.h> @@ -165,6 +166,7 @@ QDeclarativeBoundSignal *QDeclarativeBoundSignal::cast(QObject *o) int QDeclarativeBoundSignal::qt_metacall(QMetaObject::Call c, int id, void **a) { if (c == QMetaObject::InvokeMetaMethod && id == evaluateIdx) { + QDeclarativeDebugTrace::startRange(QDeclarativeDebugTrace::HandlingSignal); m_isEvaluating = true; if (!m_paramsValid) { if (!m_signal.parameterTypes().isEmpty()) @@ -180,6 +182,7 @@ int QDeclarativeBoundSignal::qt_metacall(QMetaObject::Call c, int id, void **a) } if (m_params) m_params->clearValues(); m_isEvaluating = false; + QDeclarativeDebugTrace::endRange(QDeclarativeDebugTrace::HandlingSignal); return -1; } else { return QObject::qt_metacall(c, id, a); |