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]

Definition at line 75 of file timer.h.


Member Data Documentation

char c_timer::clock_set[10] [private]

Definition at line 83 of file timer.h.

pthread_mutex_t c_timer::clock_set_mutex [private]

Definition at line 82 of file timer.h.

double c_timer::clock_tic[10] [private]

Definition at line 81 of file timer.h.

pthread_mutex_t c_timer::clock_tic_mutex [private]

Definition at line 80 of file timer.h.

char c_timer::ipc_connected [private]

Definition at line 75 of file timer.h.

double c_timer::lar_tic[10] [private]

Definition at line 85 of file timer.h.

pthread_mutex_t c_timer::lar_tic_mutex [private]

Definition at line 84 of file timer.h.

double c_timer::lar_toc[10] [private]

Definition at line 87 of file timer.h.

pthread_mutex_t c_timer::lar_toc_mutex [private]

Definition at line 86 of file timer.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


atlasmv_base
Author(s): David Gameiro, Jorge Almeida
autogenerated on Wed Jul 23 04:34:43 2014