Debugger: track variable fetch time in dumper tests for cdb

Change-Id: I85073edc2e3660e2bfaff32f53e4a2f98f03c514
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2024-05-28 11:40:59 +02:00
parent 5c23ab8c2d
commit 1c2fbaa846

View File

@@ -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"];
} }