feat: split frame/tick diagnostics into work/total/budget
This commit is contained in:
+3
-1
@@ -8,10 +8,12 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
extern float skele_fps;
|
||||
extern float skele_frame_time_ms;
|
||||
extern float skele_frame_work_time_ms;
|
||||
extern float skele_frame_render_time_ms;
|
||||
extern float skele_frame_budget_ms;
|
||||
|
||||
void skele_fps_init(void);
|
||||
void skele_fps_work_mark(void);
|
||||
void skele_fps_frame_mark(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user