• Home
  • Raw
  • Download

Lines Matching refs:indent

107   std::string indent(4, ' ');  in ReportContext()  local
110 out << indent << FormatKV("date", walltime_value) << ",\n"; in ReportContext()
112 out << indent << FormatKV("host_name", context.sys_info.name) << ",\n"; in ReportContext()
115 out << indent << FormatKV("executable", Context::executable_name) << ",\n"; in ReportContext()
119 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus)) in ReportContext()
121 out << indent in ReportContext()
125 out << indent << FormatKV("cpu_scaling_enabled", info.scaling_enabled) in ReportContext()
128 out << indent << "\"caches\": [\n"; in ReportContext()
129 indent = std::string(6, ' '); in ReportContext()
133 out << indent << "{\n"; in ReportContext()
142 out << indent << "}"; in ReportContext()
146 indent = std::string(4, ' '); in ReportContext()
147 out << indent << "],\n"; in ReportContext()
148 out << indent << "\"load_avg\": ["; in ReportContext()
160 out << indent << FormatKV("library_build_type", build_type) << "\n"; in ReportContext()
171 std::string indent(4, ' '); in ReportRuns() local
179 out << indent << "{\n"; in ReportRuns()
181 out << indent << '}'; in ReportRuns()
195 std::string indent(6, ' '); in PrintRunData() local
197 out << indent << FormatKV("name", run.benchmark_name()) << ",\n"; in PrintRunData()
198 out << indent << FormatKV("run_name", run.run_name.str()) << ",\n"; in PrintRunData()
199 out << indent << FormatKV("run_type", [&run]() -> const char* { in PrintRunData()
208 out << indent << FormatKV("repetitions", run.repetitions) << ",\n"; in PrintRunData()
210 out << indent << FormatKV("repetition_index", run.repetition_index) in PrintRunData()
213 out << indent << FormatKV("threads", run.threads) << ",\n"; in PrintRunData()
215 out << indent << FormatKV("aggregate_name", run.aggregate_name) << ",\n"; in PrintRunData()
218 out << indent << FormatKV("error_occurred", run.error_occurred) << ",\n"; in PrintRunData()
219 out << indent << FormatKV("error_message", run.error_message) << ",\n"; in PrintRunData()
222 out << indent << FormatKV("iterations", run.iterations) << ",\n"; in PrintRunData()
223 out << indent << FormatKV("real_time", run.GetAdjustedRealTime()) << ",\n"; in PrintRunData()
224 out << indent << FormatKV("cpu_time", run.GetAdjustedCPUTime()); in PrintRunData()
226 << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit)); in PrintRunData()
228 out << indent << FormatKV("cpu_coefficient", run.GetAdjustedCPUTime()) in PrintRunData()
230 out << indent << FormatKV("real_coefficient", run.GetAdjustedRealTime()) in PrintRunData()
232 out << indent << FormatKV("big_o", GetBigOString(run.complexity)) << ",\n"; in PrintRunData()
233 out << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit)); in PrintRunData()
235 out << indent << FormatKV("rms", run.GetAdjustedCPUTime()); in PrintRunData()
239 out << ",\n" << indent << FormatKV(c.first, c.second); in PrintRunData()
243 out << ",\n" << indent << FormatKV("allocs_per_iter", run.allocs_per_iter); in PrintRunData()
244 out << ",\n" << indent << FormatKV("max_bytes_used", run.max_bytes_used); in PrintRunData()
248 out << ",\n" << indent << FormatKV("label", run.report_label); in PrintRunData()