Update profiler output

This commit is contained in:
Abdelrahman Said 2023-09-03 00:35:58 +01:00
parent e461de30c0
commit 1bfc162845

View File

@ -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);