From cf446a18bf37d5cc9b116f59cf9e6a9be89e58cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Leitereg?= Date: Thu, 24 Oct 2019 21:13:03 +0200 Subject: [PATCH] Remove superfluous cache line scaling in JSON reporter. (#896) Cache size is already stored in bytes. --- src/json_reporter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_reporter.cc b/src/json_reporter.cc index 11db2b99..fe7b1be0 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(CI.level)) << ",\n"; out << cache_indent - << FormatKV("size", static_cast(CI.size) * 1000u) << ",\n"; + << FormatKV("size", static_cast(CI.size)) << ",\n"; out << cache_indent << FormatKV("num_sharing", static_cast(CI.num_sharing)) << "\n";