forked from qt-creator/qt-creator
Debugger: track variable fetch time in dumper tests for cdb
Change-Id: I85073edc2e3660e2bfaff32f53e4a2f98f03c514 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1931,6 +1931,9 @@ void tst_Dumpers::dumper()
|
|||||||
} while (localsBeginPos != -1);
|
} while (localsBeginPos != -1);
|
||||||
actual.fromString(QString::fromLocal8Bit(contents));
|
actual.fromString(QString::fromLocal8Bit(contents));
|
||||||
context.nameSpace = actual["result"]["qtnamespace"].data();
|
context.nameSpace = actual["result"]["qtnamespace"].data();
|
||||||
|
int runtime = actual["result"]["runtime"].data().toFloat() * 1000;
|
||||||
|
qCDebug(lcDumpers, "CaseInner: %5d", runtime);
|
||||||
|
m_totalInnerTime += runtime;
|
||||||
actual = actual["result"]["data"];
|
actual = actual["result"]["data"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user