source:
benchmark/ctxswitch/cfa_thrd.cfa
@
1d66a91
Last change on this file since 1d66a91 was 2316525, checked in by , 5 years ago | |
---|---|
|
|
File size: 234 bytes |
Line | |
---|---|
1 | #include <thread.hfa> |
2 | |
3 | #include "bench.h" |
4 | |
5 | int main( int argc, char * argv[] ) { |
6 | BENCH_START() |
7 | BENCH( |
8 | for ( times ) { |
9 | yield(); |
10 | }, |
11 | result |
12 | ) |
13 | printf( "%g\n", result ); |
14 | } |
15 | |
16 | // Local Variables: // |
17 | // tab-width: 4 // |
18 | // End: // |
Note: See TracBrowser
for help on using the repository browser.