diff options
| author | gingerBill <bill@gingerbill.org> | 2025-06-09 17:19:58 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-06-09 17:19:58 +0100 |
| commit | 002b50360c7fd9a5ac62816e634c1bd73277f90d (patch) | |
| tree | 3437f8efab2ee300bdf9fffe17aead4365e21336 /src/timings.cpp | |
| parent | 2ffd6be20a50f1f9146af3c12c5adf8cf3d2e095 (diff) | |
| parent | 4a675395c5c65199046b5aefbe8528f5969d633e (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/timings.cpp')
| -rw-r--r-- | src/timings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timings.cpp b/src/timings.cpp index 3f8402b36..f6e86867f 100644 --- a/src/timings.cpp +++ b/src/timings.cpp @@ -197,7 +197,7 @@ gb_internal void timings_print_all(Timings *t, TimingUnit unit = TimingUnit_Mill f64 total_time = time_stamp(t->total, t->freq, unit); - gb_printf("%.*s%.*s - % 9.3f %s - %6.2f%%\n", + gb_printf_err("%.*s%.*s - % 9.3f %s - %6.2f%%\n", LIT(t->total.label), cast(int)(max_len-t->total.label.len), SPACES, total_time, @@ -207,7 +207,7 @@ gb_internal void timings_print_all(Timings *t, TimingUnit unit = TimingUnit_Mill for_array(i, t->sections) { TimeStamp ts = t->sections[i]; f64 section_time = time_stamp(ts, t->freq, unit); - gb_printf("%.*s%.*s - % 9.3f %s - %6.2f%%\n", + gb_printf_err("%.*s%.*s - % 9.3f %s - %6.2f%%\n", LIT(ts.label), cast(int)(max_len-ts.label.len), SPACES, section_time, |