72 #define CS_TIMER_COUNTER_INIT(_t) \ 86 #define CS_TIMER_COUNTER_ADD(_res, _c0, _c1) \ 87 (_res.nsec = _c0.nsec + _c1.nsec) 131 double *system_time);
175 tc->
nsec += (t1->
sec - t0->
sec) * (
long long)1000000000
Definition: cs_timer.h:46
double cs_timer_cpu_time(void)
Return CPU time.
Definition: cs_timer.c:527
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
const char * cs_timer_cpu_time_method(void)
Return method used to return CPU time.
Definition: cs_timer.c:685
void cs_timer_cpu_times(double *user_time, double *system_time)
Return separate user and system CPU times.
Definition: cs_timer.c:560
long long nsec
Definition: cs_timer.h:49
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:637
long long nsec
Definition: cs_timer.h:57
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:657
cs_timer_t cs_timer_time(void)
Return a timer's value.
Definition: cs_timer.c:609
#define END_C_DECLS
Definition: cs_defs.h:511
double cs_timer_wtime(void)
Return Wall clock time.
Definition: cs_timer.c:491
long long sec
Definition: cs_timer.h:48
Definition: cs_timer.h:55