From 0d37a283977d1ac8f5bb8015d1398b1dee3f2551 Mon Sep 17 00:00:00 2001 From: Marek Marecki Date: Tue, 23 May 2023 21:42:29 +0200 Subject: [PATCH] Ensure that numbers are displayed in decimal when outputting perf data After recent patches they were displayed in hex, which broke the test suite. --- new/src/tools/exec/vm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/new/src/tools/exec/vm.cpp b/new/src/tools/exec/vm.cpp index 57fbe9c79..27b0b0a32 100644 --- a/new/src/tools/exec/vm.cpp +++ b/new/src/tools/exec/vm.cpp @@ -188,6 +188,7 @@ auto run(viua::vm::Core& core) -> void std::chrono::duration_cast( core.perf_counters.duration()); auto const approx_hz = (1e6 / total_us.count()) * total_ops; + viua::TRACE_STREAM << std::setfill(' ') << std::dec; viua::TRACE_STREAM << "[vm:perf] executed ops " << total_ops << ", run time " << format_time(total_us) << viua::TRACE_STREAM.endl; -- 2.38.5