test: perf: fix format string for scheduling_latency_measurer

Need a colon to introduce the format after the default argument
specifier.

Found by fmt 8.

Closes #9644
This commit is contained in:
Avi Kivity
2021-11-16 19:22:32 +02:00
committed by Botond Dénes
parent 6ece375fc8
commit cba07a3145

View File

@@ -47,11 +47,11 @@ std::ostream& operator<<(std::ostream& out, const scheduling_latency_measurer& s
return float(nanos) / 1e6;
};
return out << fmt::format("{{count: {}, "
//"min: {.6f} [ms], "
//"50%: {.6f} [ms], "
//"90%: {.6f} [ms], "
"99%: {.6f} [ms], "
"max: {.6f} [ms]}}",
//"min: {:.6f} [ms], "
//"50%: {:.6f} [ms], "
//"90%: {:.6f} [ms], "
"99%: {:.6f} [ms], "
"max: {:.6f} [ms]}}",
slm.histogram().count(),
//to_ms(slm.min().count()),
//to_ms(slm.histogram().percentile(0.5)),