Update profiler output
This commit is contained in:
parent
e461de30c0
commit
1bfc162845
@ -85,7 +85,7 @@ void profile_end() {
|
|||||||
u16 time_char_count = 20;
|
u16 time_char_count = 20;
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
printf("\n==============================PROFILING==============================\n");
|
printf("\n============================================================PROFILING============================================================\n");
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
if (profiler.cpu_freq) {
|
if (profiler.cpu_freq) {
|
||||||
@ -133,7 +133,7 @@ void profile_end() {
|
|||||||
(f64)(sample->exclusive_time + sample->children_time) /
|
(f64)(sample->exclusive_time + sample->children_time) /
|
||||||
profiler.cpu_freq;
|
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,
|
||||||
throughput_char_count, throughput_precision,
|
throughput_char_count, throughput_precision,
|
||||||
data_read * mb_to_gb / sample_time_in_seconds);
|
data_read * mb_to_gb / sample_time_in_seconds);
|
||||||
|
Loading…
Reference in New Issue
Block a user