reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/benchmark/src/json_reporter.cc
  157   out << indent << FormatKV("name", run.benchmark_name) << ",\n";
  158   if (run.error_occurred) {
  159     out << indent << FormatKV("error_occurred", run.error_occurred) << ",\n";
  160     out << indent << FormatKV("error_message", run.error_message) << ",\n";
  162   if (!run.report_big_o && !run.report_rms) {
  162   if (!run.report_big_o && !run.report_rms) {
  163     out << indent << FormatKV("iterations", run.iterations) << ",\n";
  165         << FormatKV("real_time", run.GetAdjustedRealTime())
  168         << FormatKV("cpu_time", run.GetAdjustedCPUTime());
  170         << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit));
  171   } else if (run.report_big_o) {
  173         << FormatKV("cpu_coefficient", run.GetAdjustedCPUTime())
  176         << FormatKV("real_coefficient", run.GetAdjustedRealTime())
  178     out << indent << FormatKV("big_o", GetBigOString(run.complexity)) << ",\n";
  179     out << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit));
  180   } else if (run.report_rms) {
  182         << FormatKV("rms", run.GetAdjustedCPUTime());
  184   if (run.bytes_per_second > 0.0) {
  187         << FormatKV("bytes_per_second", run.bytes_per_second);
  189   if (run.items_per_second > 0.0) {
  192         << FormatKV("items_per_second", run.items_per_second);
  194   for(auto &c : run.counters) {
  199   if (!run.report_label.empty()) {
  200     out << ",\n" << indent << FormatKV("label", run.report_label);