39 #define STRING_MAX 1024
void timers_report()
Create reports of all timers.
void delete_timers()
Free timers memory.
void timer_start(int timer_id)
Start timer based on ID.
void timer_stop(int timer_id)
Stop timer based on ID.
int new_timer(const char *timer_name)
Create a new timer.
void timers_reset()
Reset all the timers.
The structure contains a linked list single node for the timer module.
Definition: timer.h:65
struct t_list_node * next
pointer to next node of the linked list
Definition: timer.h:70
t_timer_data * data
pointer to t_timer_data holding single timer information
Definition: timer.h:68
The structure contains information about a single timer.
Definition: timer.h:46
double total_time
timer total time
Definition: timer.h:53
char * name
timer name
Definition: timer.h:51
double start_time
timer start time
Definition: timer.h:55
int id
timer ID
Definition: timer.h:49