72#define CS_TIMER_COUNTER_INIT(_t) \
86#define CS_TIMER_COUNTER_ADD(_res, _c0, _c1) \
87 (_res.nsec = _c0.nsec + _c1.nsec)
140 double *system_time);
184 tc->
nsec += (t1->
sec -
t0->sec) * (
long long)1000000000
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
#define END_C_DECLS
Definition: cs_defs.h:543
double cs_timer_wtime(void)
Return Wall clock time.
Definition: cs_timer.cpp:460
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:180
const char * cs_timer_wtime_method(void)
Return method used to return wall clock time.
Definition: cs_timer.cpp:626
int cs_glob_timer_kernels_flag
const char * cs_timer_cpu_time_method(void)
Return method used to return CPU time.
Definition: cs_timer.cpp:654
void cs_timer_cpu_times(double *user_time, double *system_time)
Return separate user and system CPU times.
Definition: cs_timer.cpp:529
cs_timer_t cs_timer_time(void)
Return a timer's value.
Definition: cs_timer.cpp:578
double cs_timer_cpu_time(void)
Return CPU time.
Definition: cs_timer.cpp:496
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.cpp:606
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:217
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