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
#define BEGIN_C_DECLS
Definition: cs_defs.h:509
#define END_C_DECLS
Definition: cs_defs.h:510
double cs_timer_wtime(void)
Return Wall clock time.
Definition: cs_timer.c:491
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:171
void cs_timer_cpu_times(double *user_time, double *system_time)
Return separate user and system CPU times.
Definition: cs_timer.c:560
cs_timer_t cs_timer_time(void)
Return a timer's value.
Definition: cs_timer.c:609
const char * cs_timer_cpu_time_method(void)
Return method used to return CPU time.
Definition: cs_timer.c:685
double cs_timer_cpu_time(void)
Return CPU time.
Definition: cs_timer.c:527
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
const char * cs_timer_wtime_method(void)
Return method used to return wall clock time.
Definition: cs_timer.c:657
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:214
Definition: cs_timer.h:55
long long nsec
Definition: cs_timer.h:57
Definition: cs_timer.h:46
long long sec
Definition: cs_timer.h:48
long long nsec
Definition: cs_timer.h:49