mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-24 06:35:00 -07:00
Fix missing type_info with manual linear search
This commit is contained in:
+2
-2
@@ -41,14 +41,14 @@ i32 win32_exec_command_line_app(char *fmt, ...) {
|
||||
}
|
||||
|
||||
|
||||
#if 1
|
||||
#if defined(DISPLAY_TIMING)
|
||||
#define INIT_TIMER() u64 start_time, end_time = 0, total_time = 0; start_time = gb_utc_time_now()
|
||||
#define PRINT_TIMER(section) do { \
|
||||
u64 diff; \
|
||||
end_time = gb_utc_time_now(); \
|
||||
diff = end_time - start_time; \
|
||||
total_time += diff; \
|
||||
gb_printf_err("%s: %lld ms\n", section, diff/1000); \
|
||||
gb_printf_err("%s: %.1f ms\n", section, diff/1000.0f); \
|
||||
start_time = gb_utc_time_now(); \
|
||||
} while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user