diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-16 18:15:47 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-16 18:15:47 +0000 |
commit | c39ad98d80de35c58b506019cb6ca3b047e8bbb6 (patch) | |
tree | 976995261840afce4ffc67ca549e63dd18b54404 /llvm/lib/Support/Timer.cpp | |
parent | e5c9e9f0bdea12a512dc3977950a7c97dbf979a4 (diff) | |
download | bcm5719-llvm-c39ad98d80de35c58b506019cb6ca3b047e8bbb6.tar.gz bcm5719-llvm-c39ad98d80de35c58b506019cb6ca3b047e8bbb6.zip |
[Timers] TimerGroup::printJSONValues(): print mem timer with .mem suffix
Summary: We have just used `.sys` suffix for the previous timer, this is clearly a typo
Reviewers: george.karpenkov, NoQ, alexfh, sbenza
Reviewed By: alexfh
Subscribers: llvm-commits, cfe-commits
Differential Revision: https://reviews.llvm.org/D46936
llvm-svn: 332503
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
-rw-r--r-- | llvm/lib/Support/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp index 903ba341b63..9b8cd76fbfb 100644 --- a/llvm/lib/Support/Timer.cpp +++ b/llvm/lib/Support/Timer.cpp @@ -387,7 +387,7 @@ const char *TimerGroup::printJSONValues(raw_ostream &OS, const char *delim) { 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(); |