Lines Matching defs:FormatKV
67 std::string FormatKV(std::string const& key, std::string const& value) {
72 std::string FormatKV(std::string const& key, const char* value) {
77 std::string FormatKV(std::string const& key, bool value) {
82 std::string FormatKV(std::string const& key, int64_t value) {
88 std::string FormatKV(std::string const& key, double value) {
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))
133 << FormatKV("mhz_per_cpu",
138 << FormatKV("cpu_scaling_enabled",
149 out << cache_indent << FormatKV("type", CI.type) << ",\n";
150 out << cache_indent << FormatKV("level", static_cast<int64_t>(CI.level))
152 out << cache_indent << FormatKV("size", static_cast<int64_t>(CI.size))
155 << FormatKV("num_sharing", static_cast<int64_t>(CI.num_sharing))
175 out << indent << FormatKV("library_build_type", build_type);
183 out << indent << FormatKV(kv.first, kv.second);
224 out << indent << FormatKV("name", run.benchmark_name()) << ",\n";
225 out << indent << FormatKV("family_index", run.family_index) << ",\n";
227 << FormatKV("per_family_instance_index", run.per_family_instance_index)
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);
303 out << ",\n" << indent << FormatKV(label, val);
312 out << ",\n" << indent << FormatKV("label", run.report_label);