Changeset 5407cdc for benchmark/benchcltr.hfa
- Timestamp:
- Apr 28, 2021, 4:56:50 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8d66610
- Parents:
- feacef9 (diff), b7fd2db6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
benchmark/benchcltr.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/benchcltr.hfa
rfeacef9 r5407cdc 114 114 for() { 115 115 sleep(100`ms); 116 end = getTimeNsec();116 end = timeHiRes(); 117 117 Duration delta = end - start; 118 118 /*if(is_tty)*/ { … … 126 126 } 127 127 #else 128 uint64_t getTimeNsec() {128 uint64_t timeHiRes() { 129 129 timespec curr; 130 130 clock_gettime( CLOCK_REALTIME, &curr ); … … 140 140 for(;;) { 141 141 usleep(100000); 142 end = getTimeNsec();142 end = timeHiRes(); 143 143 uint64_t delta = end - start; 144 144 /*if(is_tty)*/ {
Note:
See TracChangeset
for help on using the changeset viewer.