Changeset 7286a40 for src


Ignore:
Timestamp:
Jul 12, 2017, 4:20:50 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
acb89ed
Parents:
76f2bdcb
Message:

Disable preemption during benchmarks

Location:
src/benchmark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/bench.h

    r76f2bdcb r7286a40  
    2626#define N 10000000
    2727#endif
     28
     29unsigned int default_preemption() {
     30        return 0;
     31}
  • src/benchmark/csv-data.c

    r76f2bdcb r7286a40  
    2525}
    2626
    27 #ifndef N
    28 #define N 100000000
    29 #endif
    30 
    3127//-----------------------------------------------------------------------------
    3228// coroutine context switch
     
    10096mon_t mon1;
    10197
    102 condition cond1a; 
     98condition cond1a;
    10399condition cond1b;
    104100
     
    148144mon_t mon2;
    149145
    150 condition cond2a; 
     146condition cond2a;
    151147condition cond2b;
    152148
Note: See TracChangeset for help on using the changeset viewer.