checkpoint
This commit is contained in:
parent
a4974c8df8
commit
3a8a55d177
7 changed files with 493 additions and 100 deletions
16
timer.h
Normal file
16
timer.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue