Commit Graph

53 Commits

Author SHA1 Message Date
hjk
2086d94866 analyzer: finish split of tools into "tools-with-modes"
Change-Id: I82b61c07172a33b861a7d6db903ac2516019498b
Reviewed-on: http://codereview.qt.nokia.com/1054
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:02:13 +02:00
hjk
f0a0e5b1ea analyzer: move responsibility for run modes to individual tools
Change-Id: Iaf2fa9d4c087470649336a453c6a9a7db12d220f
Reviewed-on: http://codereview.qt.nokia.com/1051
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:01:25 +02:00
hjk
99d9f065b3 analyzer: refactoring of analyzer manager
Change-Id: I60268b8bc86e439beb3fca8f4b6a87ea03925bad
Reviewed-on: http://codereview.qt.nokia.com/1049
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-04 12:01:00 +02:00
hjk
bbe427ac1f analyzer: reorganize local/remote starts
Change-Id: I6273ea7ea50fd2bddad3a627e4616fe93e8398b9
Reviewed-on: http://codereview.qt.nokia.com/921
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-29 18:44:46 +02:00
hjk
b6c0f3d8a6 analyzer: refactor AnalyzerManager
Change-Id: Id925bb638b2757ef079c21192d4e2a8cc8f08694
Reviewed-on: http://codereview.qt.nokia.com/908
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-29 16:27:39 +02:00
hjk
8d567174a9 analyzer: more verbosity in the tool description
Change-Id: Ie259c78710c9e926f75595a7c22195efb7036532
Reviewed-on: http://codereview.qt.nokia.com/856
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-28 20:08:31 +02:00
Kai Koehne
5525e7d20d QmlProfiler: Rename TracePlugin to QmlProfileTraceClient
Also move it into it's own file.

Change-Id: If063b0a4c6642b1e209e6a0026fedffd01603eb9
Reviewed-on: http://codereview.qt.nokia.com/841
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-28 17:04:48 +02:00
Kai Koehne
5fb18dcc83 QmlProfiler: Warn user if Qt is too old
Check for the Qt version in teh active build configuration. If
it's too old warn the user that we require 4.7.4.

(The app running doesn't necessarily have to have the same Qt version,
so this is just an approximation).

Change-Id: Id1f31e4f0734448712dd48ecf6526ca89da45b8b
Reviewed-on: http://codereview.qt.nokia.com/460
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-06-28 17:04:27 +02:00
Kai Koehne
949ffeb1b4 QmlProfiler: Support profiling applications on embedded Linux
Allow on-device profiling e.g. on Meego/Harmattan.

Change-Id: I066b71078e1dab1b1369ff7275f72e88045d1bab
Reviewed-on: http://codereview.qt.nokia.com/784
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-06-28 14:05:11 +02:00
hjk
a9f53ec9c5 analyzer: remove output pane
It's all dockwidgets now.

Change-Id: Ia47ca9331fdfbe12ca11f77c26afc35e73a2fae3
Reviewed-on: http://codereview.qt.nokia.com/776
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 16:17:11 +02:00
Christiaan Janssen
9baa4f51a1 QmlProfiler: Clear button in toolbar
Change-Id: Id9739b7828b080b016aa41b13b4f5313a2319172
Reviewed-on: http://codereview.qt.nokia.com/750
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-27 12:54:54 +02:00
Christiaan Janssen
fbce58bf8c QmlProfiler: Callers and Callees separate views
Change-Id: Ifa3939eeda2a473722cbd8dfac33794a15d8c453
Reviewed-on: http://codereview.qt.nokia.com/678
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-06-23 16:25:25 +02:00
Christiaan Janssen
13cb0b6df3 QmlProfiler: Dependencies view
Change-Id: I1172d66b8e577994df787e2bb14cdd03a2affb35
Reviewed-on: http://codereview.qt.nokia.com/613
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-23 15:23:36 +02:00
Christiaan Janssen
1cb206a4c4 QmlProfiler: changed display name to QML Profiler
Change-Id: Ieb9cf689d72986b3ede931f327b048d25a53cf6e
Reviewed-on: http://codereview.qt.nokia.com/490
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-06-20 10:46:43 +02:00
Kai Koehne
2f97c709de QmlProfiler: Support profiling via CODA on Symbian
Change-Id: I44be1a67c95814a78c82b17e991e5e3a722a63c8
Reviewed-by: Christiaan Janssen
Reviewed-on: http://codereview.qt.nokia.com/428
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-10 14:37:36 +02:00
Christiaan Janssen
5e786fd128 QmlProfiler: renamed "Summary" tab to "Bindings"
Change-Id: Ib6341937847cc784078f499dd0040456bd60efee
Reviewed-by: Kai Koehne
Reviewed-on: http://codereview.qt.nokia.com/430
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-09 15:15:43 +02:00
Christiaan Janssen
ccd9354c29 QmlProfiler: renamed from "Perfomance Monitor" to "Profiler"
Change-Id: I00e051f810fb147775c925f0e2378a46d660967e
Reviewed-on: http://codereview.qt.nokia.com/423
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-06-09 14:35:22 +02:00
Christiaan Janssen
246a578a59 QmlProfiler: capitalization of elapsed time display
Change-Id: I327f3527568283876f7b1c2cae2d7cf71940c00d
Reviewed-on: http://codereview.qt.nokia.com/68
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
2011-05-23 15:33:26 +02:00
hjk
251bff8a9c analyze: rework 'addDock'
Change-Id: I3ce22c3f75d5cc631ab22e02f8a52af00452c0c3
Reviewed-on: http://codereview.qt.nokia.com/57
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
2011-05-23 14:57:40 +02:00
hjk
f7fee744b9 qmlprofiler: ui and style
Change-Id: I2153ef00f8d3c6d1cc4d39648916cad865b5a9be
Reviewed-on: http://codereview.qt.nokia.com/54
Reviewed-by: hjk
2011-05-23 14:57:03 +02:00
hjk
cc645911c1 qmlprofiler: use dockwidgets instead of tabs in the output pane
Change-Id: I2c33c4309e6568a34517fae2bb37f5e70320cfbe
Reviewed-on: http://codereview.qt.nokia.com/35
Reviewed-by: hjk
2011-05-23 14:56:36 +02:00
hjk
c31bc05e2e analyzer: make output pane not pop up automatically in all cases
Change-Id: Ief96ab7093d78915087a273f3eff0b4489c3b370
Reviewed-on: http://codereview.qt.nokia.com/30
Reviewed-by: hjk
2011-05-20 11:00:28 +02:00
hjk
df91b0bbfb analyzer: cleanup 2011-05-18 16:37:19 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Kai Koehne
6d174080e9 QmlProfiler: Factor out logic to run apps from the engine into a separate runner
Reviewed-by: Christiaan Janssen
2011-05-04 17:17:32 +02:00
Kai Koehne
7b41c76d92 QmlProfiler: Fix crash in qWarning 2011-05-04 17:17:18 +02:00
Kai Koehne
b7f30ed9f3 QmlProfiler: Don't warn about using QmlProfiler in either Release or Debug mode 2011-05-04 17:17:13 +02:00
Christiaan Janssen
50516bed66 QmlProfiler: corrected display name
Reviewed-by: Friedemann Kleint
2011-04-26 15:57:03 +02:00
Oswald Buddenhagen
9beb7afbe8 GUI style fixes: spaces before ellipses and excess ellipses 2011-04-18 14:10:11 +02:00
Christiaan Janssen
4fc3990b53 QmlProfiler: fixed connection reset when new application starts
Reviewed-by: Kai Koehne
2011-04-15 17:31:21 +02:00
Kai Koehne
ea266e33d6 QmlProfiler: Fix crash on application exit
The disconnectClient might be called when the last packet
of data arrives, which means we're deleting the connection
while it's readyRead() method is still running. Avoid this
by using deleteLater().

Reviewed-by: Christiaan Janssen
2011-04-15 09:57:57 +02:00
Kai Koehne
881193b19e QmlProfiler: Fix compiler warning
Fix "format ‘%d’ expects type ‘int’, but argument 3 has type ‘quint64’"
2011-04-15 08:55:55 +02:00
Kai Koehne
0a0b8dcafc QmlProfiler: Reinstantiate a QDDClient for every new connection 2011-04-14 17:36:46 +02:00
Kai Koehne
20cb599b8c QmlProfiler: Remove use of Qt private headers
Use the copy of QDeclarativeDebugClient we ship with qtcreator.
However, since the internal one misses a waitForConnected any connection
will right now fail.
2011-04-14 17:36:44 +02:00
Kai Koehne
e6620167fc QmlProfiler: Enable on Windows
Replace use of sleep() call with a timer.
2011-04-14 17:36:43 +02:00
Christiaan Janssen
b7bb522d5e QmlProfiler: Fixing regression for non-recording runs
Reviewed-by: Kai Koehne
2011-04-14 16:15:08 +02:00
Christiaan Janssen
19190384b6 QmlProfiler: user defined host:port
Reviewed-by: Kai Koehne
2011-04-14 15:44:43 +02:00
Christiaan Janssen
fa2b294264 QmlProfiler: stop timer on failed connection
Reviewed-by: Kai Koehne
2011-04-14 15:25:58 +02:00
Christiaan Janssen
4214bb1a9b QmlProfiler: cleaning output when starting new trace
Reviewed-by: Kai Koehne
2011-04-08 17:06:01 +02:00
Christiaan Janssen
6ab68a1a5f QmlProfiler: added summary view
Reviewed-by: Kai Koehne
2011-04-08 13:35:38 +02:00
Christiaan Janssen
e838a3dd7c QmlProfiler: added 'clear view'
Reviewed-by: Kai Koehne
2011-04-06 16:08:51 +02:00
Christiaan Janssen
fad891820d qQmlProfiler: independent start/stop/record buttons
Reviewed-by: Kai Koehne
2011-04-06 12:59:29 +02:00
Kai Koehne
64fee9c5cb QmlProfiler: Enable attach action only if profiler is current tool 2011-04-04 15:59:31 +02:00
Kai Koehne
12a02c7534 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).
2011-04-04 15:59:31 +02:00
Mike McQuaid
6ac987c846 Add analyzer new APIs support to plugins.
Merge-request: 284
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-04-04 14:39:28 +02:00
Kai Koehne
f0e3722eea Fix for shadow builds 2011-04-04 10:13:29 +02:00
Kai Koehne
c17f1ec7d7 QmlProfiler: Fix regression 2011-04-04 10:13:11 +02:00
Kai Koehne
eb4d273949 QmlProfiler: instantiate FileInProjectFinder only once 2011-04-04 09:37:52 +02:00
Kai Koehne
96de970522 QmlProfiler: Use QtQuick 1.0 namespace
Allow profiler to run also with 4.7.1
2011-03-25 17:20:27 +01:00
Kai Koehne
d8f83e2b1b QmlProfiler: Add license headers 2011-03-25 17:20:27 +01:00