#include <timer.h>
Public Member Functions | |
c_timer () | |
~c_timer () | |
void | tic (int i) |
void | toc (int i) |
void | set_ipc_sleep (int i) |
void | run_ipc_sleep (double desired_freq, int i, char verbose) |
double | get_toc (int i) |
void | verb (void) |
Private Attributes | |
double | clock_tic [10] |
char | clock_set [10] |
double | lar_tic [10] |
double | lar_toc [10] |
c_timer::~c_timer | ( | ) | [inline] |
void c_timer::tic | ( | int | i | ) | [inline] |
References lar_tic.
Referenced by check_msg_aceptance(), detect_haar_signal(), distant_trafficlights_computation(), increment_lap_number(), InitDES(), main(), optional_signs_computation(), search_for_cross_computation(), send_dir_and_speed(), state_management(), and stopDES().
void c_timer::toc | ( | int | i | ) | [inline] |
References lar_tic, and lar_toc.
Referenced by check_msg_aceptance(), get_toc(), InitDES(), main(), optional_signs_computation(), send_dir_and_speed(), signals_management(), and state_management().
void c_timer::verb | ( | void | ) | [inline] |
char c_timer::clock_set[10] [private] |
Referenced by c_timer(), run_ipc_sleep(), and set_ipc_sleep().
double c_timer::clock_tic[10] [private] |
Referenced by run_ipc_sleep(), and set_ipc_sleep().
double c_timer::lar_tic[10] [private] |
double c_timer::lar_toc[10] [private] |