Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/ctxswitch/cfa_thrd.cfa

    r5e49e47 rdc33b5b  
    1 #include <stdio.h>
    21#include <thread.hfa>
    32
     
    65int main(int argc, char* argv[]) {
    76        BENCH(
    8                 for (size_t i = 0; i < n; i++) {
     7                for ( i; n ) {
    98                        yield();
    109                },
     
    1211        )
    1312
    14         printf("%llu\n", result);
     13        printf("%g\n", result);
    1514}
Note: See TracChangeset for help on using the changeset viewer.