Changeset 2316525 for benchmark/schedext/upp.cc
- Timestamp:
- Jan 19, 2020, 4:16:27 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f090750
- Parents:
- 9e63a2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/schedext/upp.cc
r9e63a2b r2316525 11 11 int __attribute__((noinline)) wait() { 12 12 go = 1; 13 for ( size_t i = 0; i < times; i++) {13 for ( size_t i = 0; i < times; i++ ) { 14 14 _Accept(call); 15 15 } … … 17 17 return 0; 18 18 } 19 }; 20 21 M m; 19 } m; 22 20 23 21 _Task T { 24 22 void main() { 25 while (go == 0) { yield(); }23 while ( go == 0 ) { yield(); } 26 24 BENCH( 27 while (go == 1) { m.call(); },25 while ( go == 1 ) { m.call(); }, 28 26 result 29 27 )
Note: See TracChangeset
for help on using the changeset viewer.