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);
long long cpu_nsec
Definition: cs_timer.h:51
Definition: cs_timer.h:46
double cs_timer_cpu_time(void)
Return CPU time.
Definition: cs_timer.c:525
long long cpu_sec
Definition: cs_timer.h:50
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
long long wall_nsec
Definition: cs_timer.h:59
const char * cs_timer_cpu_time_method(void)
Return method used to return CPU time.
Definition: cs_timer.c:686
void cs_timer_cpu_times(double *user_time, double *system_time)
Return separate user and system CPU times.
Definition: cs_timer.c:558
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 wall_sec
Definition: cs_timer.h:48
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:215
const char * cs_timer_wtime_method(void)
Return method used to return wall clock time.
Definition: cs_timer.c:658
cs_timer_t cs_timer_time(void)
Return a timer's value.
Definition: cs_timer.c:607
#define END_C_DECLS
Definition: cs_defs.h:496
double cs_timer_wtime(void)
Return Wall clock time.
Definition: cs_timer.c:489
long long cpu_nsec
Definition: cs_timer.h:60
long long wall_nsec
Definition: cs_timer.h:49
Definition: cs_timer.h:57