c_timer Class Reference
[Timer]
#include <timer.h>
List of all members.
Public Member Functions |
| | c_timer () |
| | runned when created class
|
| double | get_toc (int) |
| char | run_ipc_sleep (double, int, char) |
| | to use this method is required to run set_ipc_sleep method previously
|
| void | run_sleep (int, double) |
| | method to use inside thread to avoid collisions between threads
|
| void | set_ipc_sleep (int) |
| | method with run_ipc_sleep that allows that to set a refresh rate of a specified code.
|
| void | tic (int) |
| | method when used with toc enables you to know how many time have passed since
|
| void | toc (int) |
| | method when used with t1c enables you to know how many time have passed since
|
| void | verb (int start=0, int end=10) |
| | ~c_timer () |
| | method ruuned when class is destroyed
|
Private Attributes |
| char | clock_set [10] |
| pthread_mutex_t | clock_set_mutex |
| double | clock_tic [10] |
| pthread_mutex_t | clock_tic_mutex |
| char | ipc_connected |
| double | lar_tic [10] |
| pthread_mutex_t | lar_tic_mutex |
| double | lar_toc [10] |
| pthread_mutex_t | lar_toc_mutex |
Detailed Description
Definition at line 64 of file timer.h.
Member Function Documentation
| void c_timer::verb |
( |
int |
start = 0, |
|
|
int |
end = 10 | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- /home/laradmin/lar/bases/atlasmv_base/include/timer.h
- /home/laradmin/lar/bases/atlasmv_base/src/timer.cpp