~maelkum/viuavm

0d37a283977d1ac8f5bb8015d1398b1dee3f2551 — Marek Marecki 1 year, 2 months ago f552932
Ensure that numbers are displayed in decimal when outputting perf data

After recent patches they were displayed in hex, which broke the test
suite.
1 files changed, 1 insertions(+), 0 deletions(-)

M new/src/tools/exec/vm.cpp
M new/src/tools/exec/vm.cpp => new/src/tools/exec/vm.cpp +1 -0
@@ 188,6 188,7 @@ auto run(viua::vm::Core& core) -> void
            std::chrono::duration_cast<std::chrono::microseconds>(
                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;