Stopwatch: Print the result in decimal instead of hexadecimal.

This commit is contained in:
Andreas Kling 2019-03-30 04:20:08 +01:00
parent 4506e3a085
commit 73f3e05ebb
Notes: sideshowbarker 2024-07-19 14:53:36 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -282,7 +282,7 @@ public:
SplitQword end;
read_tsc(end.lsw, end.msw);
uint64_t diff = end.qw - m_start.qw;
dbgprintf("Stopwatch(%s): %q ticks\n", m_name, diff);
dbgprintf("Stopwatch(%s): %Q ticks\n", m_name, diff);
}
private:

View file

@ -26,7 +26,7 @@ public:
SplitQword end;
read_tsc(&end.lsw, &end.msw);
uint64_t diff = end.qw - m_start.qw;
dbgprintf("Stopwatch(%s): %q ticks\n", m_name, diff);
dbgprintf("Stopwatch(%s): %Q ticks\n", m_name, diff);
}
private: