|
Robotran C Documentation
|
Go to the documentation of this file.
9 #ifndef _TIME_FUNCTIONS_H_
10 #define _TIME_FUNCTIONS_H_
18 #include <sys/timeb.h>
28 int t_usec(
int init_t_sec,
int init_t_usec);
long tv_usec
Definition: time_functions.h:22
int t_usec(int init_t_sec, int init_t_usec)
return the elapsed time (in us) since time 'init_t' (expressed in s and us)
Definition: time_functions.c:25
void time_get(int *t_sec, int *t_usec)
return the absolute time of the computer
Definition: time_functions.c:11
long tv_sec
Definition: time_functions.h:21
functions used to get the time expressed in us (micro seconds)
int gettimeofday(struct timeval *tp, void *tz)
get current time fot Windows
Definition: time_functions.c:36
int t_usec(int init_t_sec, int init_t_usec)
return the elapsed time (in us) since time 'init_t' (expressed in s and us)
Definition: time_functions.c:25
void time_get(int *t_sec, int *t_usec)
return the absolute time of the computer
Definition: time_functions.c:11
Definition: time_functions.h:20
int gettimeofday(struct timeval *tp, void *tz)
get current time fot Windows
Definition: time_functions.c:36