[PATCH] D46936: [Timers] TimerGroup::printJSONValues(): print mem timer with .mem suffix
Phabricator via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 16 11:19:33 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL332503: [Timers] TimerGroup::printJSONValues(): print mem timer with .mem suffix (authored by lebedevri, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D46936?vs=147052&id=147137#toc
Repository:
rL LLVM
https://reviews.llvm.org/D46936
Files:
llvm/trunk/lib/Support/Timer.cpp
Index: llvm/trunk/lib/Support/Timer.cpp
===================================================================
--- llvm/trunk/lib/Support/Timer.cpp
+++ llvm/trunk/lib/Support/Timer.cpp
@@ -387,7 +387,7 @@
printJSONValue(OS, R, ".sys", T.getSystemTime());
if (T.getMemUsed()) {
OS << delim;
- printJSONValue(OS, R, ".sys", T.getMemUsed());
+ printJSONValue(OS, R, ".mem", T.getMemUsed());
}
}
TimersToPrint.clear();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46936.147137.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180516/7dbff2c7/attachment.bin>
More information about the cfe-commits
mailing list