Ignore:
Timestamp:
Oct 29, 2019, 4:01:24 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
773db65, 9421f3d8
Parents:
7951100 (diff), 8364209 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 moved

Legend:

Unmodified
Added
Removed
  • benchmark/ctxswitch/cfa_cor.cfa

    r7951100 rb067d9b  
    1 #include <stdio.h>
    2 #include <kernel>
    3 #include <thread>
     1#include <kernel.hfa>
     2#include <thread.hfa>
    43
    54#include "bench.h"
     
    1110}
    1211
    13 void main( GreatSuspender & this ) {
     12void main( __attribute__((unused)) GreatSuspender & this ) {
    1413        while( true ) {
    1514                suspend();
     
    2120
    2221        BENCH(
    23                 for (size_t i = 0; i < n; i++) {
     22                for ( i; n ) {
    2423                        resume( s );
    2524                },
     
    2726        )
    2827
    29         printf("%llu\n", result);
     28        printf("%g\n", result);
    3029}
Note: See TracChangeset for help on using the changeset viewer.