Ignore:
Timestamp:
May 19, 2021, 1:17:05 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d36bac7
Parents:
63f42a8
Message:

Cleanup stats for concision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/ready_queue.cfa

    r63f42a8 r78ea291  
    448448        // If list looks empty retry
    449449        if( is_empty(lane) ) {
    450                 __STATS( stats.espec++; )
    451450                return 0p;
    452451        }
     
    454453        // If we can't get the lock retry
    455454        if( !__atomic_try_acquire(&lane.lock) ) {
    456                 __STATS( stats.elock++; )
    457455                return 0p;
    458456        }
     
    461459        if( is_empty(lane) ) {
    462460                __atomic_unlock(&lane.lock);
    463                 __STATS( stats.eempty++; )
    464461                return 0p;
    465462        }
     
    471468
    472469        /* paranoid */ verify(thrd);
     470        /* paranoid */ verify(tsv);
    473471        /* paranoid */ verify(lane.lock);
    474472
Note: See TracChangeset for help on using the changeset viewer.