2021-11-30 21:29:18 -06:00
|
|
|
#ifndef DEBUG_GUI_H
|
|
|
|
#define DEBUG_GUI_H
|
|
|
|
|
2023-09-04 01:20:55 -05:00
|
|
|
#ifndef static_assert
|
2023-01-25 21:32:58 -06:00
|
|
|
#define static_assert(pred) switch(0){case 0:case pred:;}
|
2023-09-04 01:20:55 -05:00
|
|
|
#endif
|
2023-09-02 06:53:52 -05:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct d_prof {
|
|
|
|
char *name;
|
|
|
|
float *ms;
|
|
|
|
uint64_t lap;
|
|
|
|
};
|
|
|
|
|
2021-11-30 21:29:18 -06:00
|
|
|
extern unsigned long long triCount;
|
|
|
|
void resetTriangles();
|
2023-09-02 06:53:52 -05:00
|
|
|
void prof_start(struct d_prof *prof);
|
|
|
|
void prof(struct d_prof *prof);
|
2021-11-30 21:29:18 -06:00
|
|
|
|
|
|
|
#endif
|