• Home
  • Raw
  • Download

Lines Matching refs:indent

75   std::string indent(4, ' ');  in ReportContext()  local
78 out << indent << FormatKV("date", walltime_value) << ",\n"; in ReportContext()
80 out << indent << FormatKV("host_name", context.sys_info.name) << ",\n"; in ReportContext()
88 out << indent << FormatKV("executable", executable_name) << ",\n"; in ReportContext()
92 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus)) in ReportContext()
94 out << indent in ReportContext()
98 out << indent << FormatKV("cpu_scaling_enabled", info.scaling_enabled) in ReportContext()
101 out << indent << "\"caches\": [\n"; in ReportContext()
102 indent = std::string(6, ' '); in ReportContext()
106 out << indent << "{\n"; in ReportContext()
115 out << indent << "}"; in ReportContext()
119 indent = std::string(4, ' '); in ReportContext()
120 out << indent << "],\n"; in ReportContext()
121 out << indent << "\"load_avg\": ["; in ReportContext()
133 out << indent << FormatKV("library_build_type", build_type) << "\n"; in ReportContext()
144 std::string indent(4, ' '); in ReportRuns() local
152 out << indent << "{\n"; in ReportRuns()
154 out << indent << '}'; in ReportRuns()
168 std::string indent(6, ' '); in PrintRunData() local
170 out << indent << FormatKV("name", run.benchmark_name()) << ",\n"; in PrintRunData()
171 out << indent << FormatKV("run_name", run.run_name) << ",\n"; in PrintRunData()
172 out << indent << FormatKV("run_type", [&run]() -> const char* { in PrintRunData()
182 out << indent << FormatKV("aggregate_name", run.aggregate_name) << ",\n"; in PrintRunData()
185 out << indent << FormatKV("error_occurred", run.error_occurred) << ",\n"; in PrintRunData()
186 out << indent << FormatKV("error_message", run.error_message) << ",\n"; in PrintRunData()
189 out << indent << FormatKV("iterations", run.iterations) << ",\n"; in PrintRunData()
190 out << indent << FormatKV("real_time", run.GetAdjustedRealTime()) << ",\n"; in PrintRunData()
191 out << indent << FormatKV("cpu_time", run.GetAdjustedCPUTime()); in PrintRunData()
193 << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit)); in PrintRunData()
195 out << indent << FormatKV("cpu_coefficient", run.GetAdjustedCPUTime()) in PrintRunData()
197 out << indent << FormatKV("real_coefficient", run.GetAdjustedRealTime()) in PrintRunData()
199 out << indent << FormatKV("big_o", GetBigOString(run.complexity)) << ",\n"; in PrintRunData()
200 out << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit)); in PrintRunData()
202 out << indent << FormatKV("rms", run.GetAdjustedCPUTime()); in PrintRunData()
206 out << ",\n" << indent << FormatKV(c.first, c.second); in PrintRunData()
210 out << ",\n" << indent << FormatKV("allocs_per_iter", run.allocs_per_iter); in PrintRunData()
211 out << ",\n" << indent << FormatKV("max_bytes_used", run.max_bytes_used); in PrintRunData()
215 out << ",\n" << indent << FormatKV("label", run.report_label); in PrintRunData()