mirror of
https://github.com/google/benchmark.git
synced 2024-12-26 12:30:14 +08:00
Remove superfluous cache line scaling in JSON reporter. (#896)
Cache size is already stored in bytes.
This commit is contained in:
parent
d16ae64e5a
commit
cf446a18bf
@ -135,7 +135,7 @@ bool JSONReporter::ReportContext(const Context& context) {
|
|||||||
out << cache_indent << FormatKV("level", static_cast<int64_t>(CI.level))
|
out << cache_indent << FormatKV("level", static_cast<int64_t>(CI.level))
|
||||||
<< ",\n";
|
<< ",\n";
|
||||||
out << cache_indent
|
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
|
out << cache_indent
|
||||||
<< FormatKV("num_sharing", static_cast<int64_t>(CI.num_sharing))
|
<< FormatKV("num_sharing", static_cast<int64_t>(CI.num_sharing))
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user