mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
Stopwatch: Print the result in decimal instead of hexadecimal.
This commit is contained in:
parent
4506e3a085
commit
73f3e05ebb
Notes:
sideshowbarker
2024-07-19 14:53:36 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/73f3e05ebb4
@ -282,7 +282,7 @@ public:
|
|||||||
SplitQword end;
|
SplitQword end;
|
||||||
read_tsc(end.lsw, end.msw);
|
read_tsc(end.lsw, end.msw);
|
||||||
uint64_t diff = end.qw - m_start.qw;
|
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:
|
private:
|
||||||
|
@ -26,7 +26,7 @@ public:
|
|||||||
SplitQword end;
|
SplitQword end;
|
||||||
read_tsc(&end.lsw, &end.msw);
|
read_tsc(&end.lsw, &end.msw);
|
||||||
uint64_t diff = end.qw - m_start.qw;
|
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:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user