Fix missing type_info with manual linear search

This commit is contained in:
Ginger Bill
2016-09-08 00:23:14 +01:00
parent 3d02f8a5fd
commit c6d02e4778
13 changed files with 55 additions and 79 deletions
+2 -2
View File
@@ -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)