From 1bfc16284596a49bcd4f2e13fe8ed59b6a64e657 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 3 Sep 2023 00:35:58 +0100 Subject: [PATCH] Update profiler output --- haversine_02/src/profiler/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haversine_02/src/profiler/timer.c b/haversine_02/src/profiler/timer.c index 0c249bc..80066e8 100644 --- a/haversine_02/src/profiler/timer.c +++ b/haversine_02/src/profiler/timer.c @@ -85,7 +85,7 @@ void profile_end() { u16 time_char_count = 20; // clang-format off - printf("\n==============================PROFILING==============================\n"); + printf("\n============================================================PROFILING============================================================\n"); // clang-format on if (profiler.cpu_freq) { @@ -133,7 +133,7 @@ void profile_end() { (f64)(sample->exclusive_time + sample->children_time) / profiler.cpu_freq; - printf(", Byte count: %*.*f MB, Throughput: %*.*f GB/s", + printf(", Data read: %*.*f MB, Throughput: %*.*f GB/s", throughput_char_count, throughput_precision, data_read, throughput_char_count, throughput_precision, data_read * mb_to_gb / sample_time_in_seconds);