1 #ifndef __LARCV_UTILS_WATCH_H__
2 #define __LARCV_UTILS_WATCH_H__
35 struct timeval current_time;
36 gettimeofday(¤t_time,NULL);
37 _wall_time_start = (double)current_time.tv_sec + (
double)current_time.tv_usec * 1.e-6;
44 struct timeval current_time;
45 gettimeofday(¤t_time,NULL);
46 double now = (double)current_time.tv_sec + (
double)current_time.tv_usec * 1.e-6;
53 double now = (double)(clock());