many things, cosmo build!

This commit is contained in:
veclavtlica
2026-10-12 21:12:47 +03:00
parent ba4131abbf
commit 8d2bb5575e
29 changed files with 699 additions and 312 deletions
+2 -1
View File
@@ -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");
}