Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/ctxswitch/cfa_thrd.cfa

    rdc33b5b r5e49e47  
     1#include <stdio.h>
    12#include <thread.hfa>
    23
     
    56int main(int argc, char* argv[]) {
    67        BENCH(
    7                 for ( i; n ) {
     8                for (size_t i = 0; i < n; i++) {
    89                        yield();
    910                },
     
    1112        )
    1213
    13         printf("%g\n", result);
     14        printf("%llu\n", result);
    1415}
Note: See TracChangeset for help on using the changeset viewer.