|
Robotran C Documentation
|
Go to the documentation of this file.
9 #ifndef _TIME_FUNCTIONS_H_
10 #define _TIME_FUNCTIONS_H_
16 #include <sys/timeb.h>
18 typedef struct timeval {
29 int t_usec(
int init_t_sec,
int init_t_usec);
32 int gettimeofday (
struct timeval *tp,
void *tz);
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
functions used to get the time expressed in us (micro seconds)
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