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]);