checkpoint

This commit is contained in:
Alessandro Mauri 2024-03-10 17:26:03 +01:00
parent a4974c8df8
commit 3a8a55d177
7 changed files with 493 additions and 100 deletions

16
timer.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef UG_TIMER_H_
#define UG_TIMER_H_
#include <stdlib.h>
#define TIMER_MAX_PARTIAL 10
int timer_start(void);
int timer_stop(void);
int timer_reset(void);
int timer_partial(int idx);
size_t timer_get_us(int idx);
double timer_get_sec(int idx);
#endif