Changeset e50fce1


Ignore:
Timestamp:
May 9, 2023, 12:41:37 PM (19 months ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
2d0f918, fece3d9
Parents:
253a78f
Message:

added some instrumentation to attempt to glean some insight into optimized away values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/waituntil/one_chan.cfa

    r253a78f re50fce1  
    2828    long long int total = 0;
    2929    printf("start\n");
     30    volatile size_t LINE_COUNTER = 1;
    3031    {
    3132        Server1 s[numServers];
     
    3334            waituntil( j >> C ) { total += j; }
    3435        }
     36        LINE_COUNTER = 2;
    3537        printf("waiting for empty channels\n");
     38        LINE_COUNTER = 3;
    3639        size_t C_count = get_count( C );
    37         size_t LINE_COUNTER = 0;
     40        LINE_COUNTER = 5;
    3841        while( C_count > 0 ) {
    3942            C_count = get_count( C );
Note: See TracChangeset for help on using the changeset viewer.