2021-11-30 21:29:18 -06:00
|
|
|
#ifndef DEBUG_GUI_H
|
|
|
|
#define DEBUG_GUI_H
|
|
|
|
|
2023-09-02 06:53:52 -05:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct d_prof {
|
|
|
|
char *name;
|
|
|
|
float *ms;
|
|
|
|
uint64_t lap;
|
2023-12-21 17:21:01 -06:00
|
|
|
int laps;
|
2023-09-02 06:53:52 -05:00
|
|
|
};
|
|
|
|
|
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);
|
2023-12-21 17:21:01 -06:00
|
|
|
void prof_reset(struct d_prof *prof);
|
|
|
|
void prof_lap(struct d_prof *prof);
|
|
|
|
float prof_lap_avg(struct d_prof *prof);
|
2021-11-30 21:29:18 -06:00
|
|
|
|
|
|
|
#endif
|