QmlProfiler: Add attach/detach menu entry

This allows one to also profile apps on device (as long as there
is a working TCP/IP connection).
This commit is contained in:
Kai Koehne
2011-04-04 15:03:31 +02:00
parent 02ea914426
commit 12a02c7534
8 changed files with 275 additions and 8 deletions

View File

@@ -69,6 +69,7 @@ public:
~QmlProfilerEnginePrivate() {}
bool launchperfmonitor();
bool attach(const QString &address, uint port);
QmlProfilerEngine *q;
@@ -178,3 +179,21 @@ bool QmlProfilerEngine::QmlProfilerEnginePrivate::launchperfmonitor()
return true;
}