Timer
[Utils]

This module implements tictoc matlab like timers. More...

Collaboration diagram for Timer:

Data Structures

class  c_timer

Files

file  timer.cpp
 

This is where main is defined and etc.


file  timer.h
 

main header file for this module. Includes, global vars, funtion prototypes, etc.


Defines

#define MINIMUM_IPC_SLEEP   0.005

Functions

 c_timer::c_timer ()
void c_timer::set_ipc_sleep (int i)
void c_timer::run_ipc_sleep (double desired_freq, int i, char verbose)
double c_timer::get_toc (int i)

Detailed Description

This module implements tictoc matlab like timers.

Todo:
This only works if modules have previously been connected to IPC. Should be independent.

Define Documentation

#define MINIMUM_IPC_SLEEP   0.005

Referenced by c_timer::run_ipc_sleep().


Function Documentation

c_timer::c_timer (  )  [inherited]
double c_timer::get_toc ( int  i  )  [inherited]

References abs(), c_timer::lar_toc, and c_timer::toc().

Referenced by check_msg_aceptance(), and InitDES().

Here is the call graph for this function:

Here is the caller graph for this function:

void c_timer::run_ipc_sleep ( double  desired_freq,
int  i,
char  verbose 
) [inherited]

References c_timer::clock_set, c_timer::clock_tic, MINIMUM_IPC_SLEEP, and ts.

Referenced by main().

Here is the caller graph for this function:

void c_timer::set_ipc_sleep ( int  i  )  [inherited]

References c_timer::clock_set, and c_timer::clock_tic.

Referenced by main().

Here is the caller graph for this function:

Generated on Wed Jun 2 12:43:28 2010 for LAR Atlas by  doxygen 1.6.3