Changeset 36993
- Timestamp:
- Jul 10, 2014, 1:42:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140610/Ohana/src/libohana/include/ohana.h
r36942 r36993 70 70 # define DTIME(A,B) ((A.tv_sec - B.tv_sec) + 1e-6*(A.tv_usec - B.tv_usec)) 71 71 # endif 72 73 # define MARKTIME(MSG,...) { \ 74 gettimeofday (&stopTimer, (void *) NULL); \ 75 float dtime = DTIME (stopTimer, startTimer); \ 76 fprintf (stderr, MSG, __VA_ARGS__); } 77 78 # define INITTIME \ 79 struct timeval startTimer, stopTimer; \ 80 gettimeofday (&startTimer, (void *) NULL); 72 81 73 82 #ifdef __GNUC__
Note:
See TracChangeset
for help on using the changeset viewer.
