Ignore:
Timestamp:
Apr 1, 2021, 8:02:19 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:
a344425
Parents:
b580bcc
Message:

Stats now keep track of external pushes separately

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/stats.hfa

    rb580bcc rfd1f65e  
    3131                                volatile uint64_t lsuccess;
    3232                        } push;
     33
     34                        struct {
     35                                // number of attemps at pushing something
     36                                volatile uint64_t attempt;
     37
     38                                // number of successes at pushing
     39                                volatile uint64_t success;
     40
     41                                // number of attemps at pushing something to preferred queues
     42                                volatile uint64_t local;
     43
     44                                // number of successes at pushing to preferred queues
     45                                volatile uint64_t lsuccess;
     46                        } ext;
    3347
    3448                        // Pop statistic
Note: See TracChangeset for help on using the changeset viewer.