many things, cosmo build!
This commit is contained in:
@@ -13,5 +13,6 @@ uint64_t com_timer_count_ns(void) {
|
||||
void com_timer_profile(uint64_t starttime, const char *what) {
|
||||
uint64_t const endtime = com_timer_count_ns();
|
||||
uint64_t const diff = endtime - starttime;
|
||||
com_std_printf("profile \"%s\" took %fms\n", what, (double)diff / 1000000);
|
||||
com_std_print('c', "Profile ", 'c', what, 'c', " took ", 'd',
|
||||
(double)diff / 1000000, 'c', "ms");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user