Changeset c953163
- Timestamp:
- Jun 24, 2020, 5:42:13 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- c34ebf2
- Parents:
- 8b58bae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/benchcltr.hfa
r8b58bae rc953163 28 28 void wait(double duration, Time & start, Time & end, bool is_tty) { 29 29 for() { 30 sleep( 500`ms);30 sleep(100`ms); 31 31 end = getTime(); 32 32 if( (end - start) >= duration`s ) { … … 34 34 } 35 35 if(is_tty) { 36 printf("\r%.4lf", ( double)(end - start)`s);36 printf("\r%.4lf", (end - start)`ds); 37 37 fflush(stdout); 38 38 }
Note: See TracChangeset
for help on using the changeset viewer.