forked from qt-creator/qt-creator
QmlProfiler: showing children time and count in events pane
Change-Id: Ia285d1c84312e6a314fbf1c59c62b571b4c3e7d4 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -48,7 +48,7 @@ typedef QHash<QString, QmlJsDebugClient::QmlEventData *> QmlEventHash;
|
||||
typedef QList<QmlJsDebugClient::QmlEventData *> QmlEventList;
|
||||
|
||||
enum ItemRole {
|
||||
LocationRole = Qt::UserRole+1,
|
||||
EventHashStrRole = Qt::UserRole+1,
|
||||
FilenameRole = Qt::UserRole+2,
|
||||
LineRole = Qt::UserRole+3,
|
||||
EventIdRole = Qt::UserRole+4
|
||||
@@ -108,8 +108,6 @@ public:
|
||||
MinTime,
|
||||
MedianTime,
|
||||
Details,
|
||||
Parents,
|
||||
Children,
|
||||
|
||||
MaxFields
|
||||
};
|
||||
@@ -135,6 +133,7 @@ public:
|
||||
void copyTableToClipboard() const;
|
||||
void copyRowToClipboard() const;
|
||||
|
||||
static QString displayTime(double time);
|
||||
static QString nameForType(int typeNumber);
|
||||
|
||||
void getStatisticsInRange(qint64 rangeStart, qint64 rangeEnd);
|
||||
|
||||
Reference in New Issue
Block a user