  | 
  
    My Project
    
   programmer's documentation 
   | 
 
 
 
 
Go to the documentation of this file.
   75 #define CS_TIMER_COUNTER_INIT(_t)       \ 
   90 #define CS_TIMER_COUNTER_ADD(_res, _c0, _c1)       \ 
   91   (_res.wall_nsec = _c0.wall_nsec + _c1.wall_nsec,  \ 
   92    _res.cpu_nsec  = _c0.cpu_nsec + _c1.cpu_nsec) 
  136                    double  *system_time);
 
  
const char * cs_timer_cpu_time_method(void)
Return method used to return CPU time.
Definition: cs_timer.c:686
 
void const cs_real_t const cs_real_t const cs_real_t * t0
Definition: cs_ctwr_air_props.h:128
 
long long wall_nsec
Definition: cs_timer.h:49
 
double cs_timer_wtime(void)
Return Wall clock time.
Definition: cs_timer.c:489
 
Definition: cs_timer.h:57
 
#define END_C_DECLS
Definition: cs_defs.h:468
 
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
 
long long cpu_nsec
Definition: cs_timer.h:60
 
Definition: cs_timer.h:46
 
cs_timer_t cs_timer_time(void)
Return a timer's value.
Definition: cs_timer.c:607
 
const char * cs_timer_wtime_method(void)
Return method used to return wall clock time.
Definition: cs_timer.c:658
 
long long wall_nsec
Definition: cs_timer.h:59
 
void cs_timer_cpu_times(double *user_time, double *system_time)
Return separate user and system CPU times.
Definition: cs_timer.c:558
 
long long wall_sec
Definition: cs_timer.h:48
 
static void cs_timer_counter_add_diff(cs_timer_counter_t *tc, const cs_timer_t *t0, const cs_timer_t *t1)
Definition: cs_timer.h:176
 
long long cpu_nsec
Definition: cs_timer.h:51
 
double cs_timer_cpu_time(void)
Return CPU time.
Definition: cs_timer.c:525
 
cs_timer_counter_t cs_timer_diff(const cs_timer_t *t0, const cs_timer_t *t1)
Compute the difference between 2 timers.
Definition: cs_timer.c:636
 
long long cpu_sec
Definition: cs_timer.h:50