void timing_(double* cpu,double* sys,double* wall)
HEADER: source/include/timing.h }}}
LIB: libc_util.a/libc_util.so
SOURCE source/c_util/timing.c
double* cpu
Output, cputime in sec.
double* sys
Output, systime in sec.
double* wall
Output, walltime in sec.
example
double cpu_t[2],sys_t[2],wall_t[2]; timing_(cpu_t,sys_t,wall_t); somecode here timing_(cpu_t+1,sys_t+1,wall_t+1); printf("timing(cpu,sys,wall):\t%.3lf\t%.3lf\t%.3lf\t",cpu_t[1]-cpu_t[0], sys_t[1]-sys_t[0], wall_t[1]-wall_t[0]);