From 73f3e05ebb46d54f3aa1316742151170f5aef6f5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 30 Mar 2019 04:20:08 +0100 Subject: [PATCH] Stopwatch: Print the result in decimal instead of hexadecimal. --- Kernel/i386.h | 2 +- LibC/serenity.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/i386.h b/Kernel/i386.h index 9d0ec625ad..3b827fd660 100644 --- a/Kernel/i386.h +++ b/Kernel/i386.h @@ -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: diff --git a/LibC/serenity.h b/LibC/serenity.h index ce9efff53c..d753063d7a 100644 --- a/LibC/serenity.h +++ b/LibC/serenity.h @@ -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: