diff options
author | AndrĂ¡s Leitereg <leanil94@gmail.com> | 2019-10-24 21:13:03 +0200 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-24 22:13:03 +0300 |
commit | cf446a18bf37d5cc9b116f59cf9e6a9be89e58cc (patch) | |
tree | 1d6600088615f69cfabdf7f5393f0fa63caa79bc | |
parent | d16ae64e5aeeda305a3f6d761eaf6a87dfd726bd (diff) | |
download | google-benchmark-cf446a18bf37d5cc9b116f59cf9e6a9be89e58cc.tar.gz |
Remove superfluous cache line scaling in JSON reporter. (#896)
Cache size is already stored in bytes.
-rw-r--r-- | src/json_reporter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json_reporter.cc b/src/json_reporter.cc index 11db2b9..fe7b1be 100644 --- a/src/json_reporter.cc +++ b/src/json_reporter.cc @@ -135,7 +135,7 @@ bool JSONReporter::ReportContext(const Context& context) { out << cache_indent << FormatKV("level", static_cast<int64_t>(CI.level)) << ",\n"; out << cache_indent - << FormatKV("size", static_cast<int64_t>(CI.size) * 1000u) << ",\n"; + << FormatKV("size", static_cast<int64_t>(CI.size)) << ",\n"; out << cache_indent << FormatKV("num_sharing", static_cast<int64_t>(CI.num_sharing)) << "\n"; |