source: benchmark/ctxswitch/cfa_thrd.cfa @ fcd65ca

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since fcd65ca was 2316525, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

update benchmarks for concurrency paper

  • Property mode set to 100644
File size: 234 bytes
RevLine 
[73abe95]1#include <thread.hfa>
[de90452]2
[8cb6fcd]3#include "bench.h"
[de90452]4
[b4107c8]5int main( int argc, char * argv[] ) {
6        BENCH_START()
[b7170a64]7        BENCH(
[2316525]8                for ( times ) {
[b7170a64]9                        yield();
10                },
11                result
12        )
[b4107c8]13        printf( "%g\n", result );
[dc33b5b]14}
[b4107c8]15
16// Local Variables: //
17// tab-width: 4 //
18// End: //
Note: See TracBrowser for help on using the repository browser.