Lines Matching refs:indent
118 std::string indent(4, ' ');
121 out << indent << FormatKV("date", walltime_value) << ",\n";
123 out << indent << FormatKV("host_name", context.sys_info.name) << ",\n";
126 out << indent << FormatKV("executable", Context::executable_name) << ",\n";
130 out << indent << FormatKV("num_cpus", static_cast<int64_t>(info.num_cpus))
132 out << indent
137 out << indent
143 out << indent << "\"caches\": [\n";
144 indent = std::string(6, ' ');
148 out << indent << "{\n";
157 out << indent << "}";
161 indent = std::string(4, ' ');
162 out << indent << "],\n";
163 out << indent << "\"load_avg\": [";
175 out << indent << FormatKV("library_build_type", build_type);
183 out << indent << FormatKV(kv.first, kv.second);
198 std::string indent(4, ' ');
206 out << indent << "{\n";
208 out << indent << '}';
222 std::string indent(6, ' ');
224 out << indent << FormatKV("name", run.benchmark_name()) << ",\n";
225 out << indent << FormatKV("family_index", run.family_index) << ",\n";
226 out << indent
229 out << indent << FormatKV("run_name", run.run_name.str()) << ",\n";
230 out << indent << FormatKV("run_type", [&run]() -> const char* {
239 out << indent << FormatKV("repetitions", run.repetitions) << ",\n";
241 out << indent << FormatKV("repetition_index", run.repetition_index)
244 out << indent << FormatKV("threads", run.threads) << ",\n";
246 out << indent << FormatKV("aggregate_name", run.aggregate_name) << ",\n";
247 out << indent << FormatKV("aggregate_unit", [&run]() -> const char* {
258 out << indent << FormatKV("error_occurred", true) << ",\n";
259 out << indent << FormatKV("error_message", run.skip_message) << ",\n";
261 out << indent << FormatKV("skipped", true) << ",\n";
262 out << indent << FormatKV("skip_message", run.skip_message) << ",\n";
265 out << indent << FormatKV("iterations", run.iterations) << ",\n";
268 out << indent << FormatKV("real_time", run.GetAdjustedRealTime())
270 out << indent << FormatKV("cpu_time", run.GetAdjustedCPUTime());
273 out << indent << FormatKV("real_time", run.real_accumulated_time)
275 out << indent << FormatKV("cpu_time", run.cpu_accumulated_time);
278 << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit));
280 out << indent << FormatKV("cpu_coefficient", run.GetAdjustedCPUTime())
282 out << indent << FormatKV("real_coefficient", run.GetAdjustedRealTime())
284 out << indent << FormatKV("big_o", GetBigOString(run.complexity)) << ",\n";
285 out << indent << FormatKV("time_unit", GetTimeUnitString(run.time_unit));
287 out << indent << FormatKV("rms", run.GetAdjustedCPUTime());
291 out << ",\n" << indent << FormatKV(c.first, c.second);
296 out << ",\n" << indent << FormatKV("allocs_per_iter", run.allocs_per_iter);
298 << indent << FormatKV("max_bytes_used", memory_result.max_bytes_used);
300 auto report_if_present = [&out, &indent](const std::string& label,
303 out << ",\n" << indent << FormatKV(label, val);
312 out << ",\n" << indent << FormatKV("label", run.report_label);