Changeset 6528d75 for benchmark/benchcltr.hfa
- Timestamp:
- Apr 16, 2021, 1:05:58 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 5f6a172
- Parents:
- 431cd4f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/benchcltr.hfa
r431cd4f r6528d75 114 114 for() { 115 115 sleep(100`ms); 116 end = getTimeNsec();116 end = timeNsec(); 117 117 Duration delta = end - start; 118 118 /*if(is_tty)*/ { … … 126 126 } 127 127 #else 128 uint64_t getTimeNsec() {128 uint64_t timeNsec() { 129 129 timespec curr; 130 130 clock_gettime( CLOCK_REALTIME, &curr ); … … 140 140 for(;;) { 141 141 usleep(100000); 142 end = getTimeNsec();142 end = timeNsec(); 143 143 uint64_t delta = end - start; 144 144 /*if(is_tty)*/ {
Note: See TracChangeset
for help on using the changeset viewer.