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();
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();
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits