Ignore:
File:
1 edited

Legend:

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

    r78ea291 r3bd4293  
    22
    33// #define CFA_STATS_ARRAY 10000
    4 // #define __CFA_NO_STATISTICS__
    54
    65#include <stdint.h>
     
    2322                // number of successes at poping
    2423                volatile uint64_t success;
     24
     25                // number of attempts failed due to the lock being held
     26                volatile uint64_t elock;
     27
     28                // number of attempts failed due to the queue being empty (lock held)
     29                volatile uint64_t eempty;
     30
     31                // number of attempts failed due to the queue looking empty (lock not held)
     32                volatile uint64_t espec;
    2533        };
    2634
     
    6371                        volatile uint64_t migration;
    6472                        volatile uint64_t extunpark;
    65                         volatile  int64_t threads;  // number of threads in the system, includes only local change
    66                         volatile  int64_t cthreads; // number of threads in the system, includes only local change
     73                        volatile  int64_t threads; // number of threads in the system, includes only local change
    6774                } threads;
    6875                struct {
Note: See TracChangeset for help on using the changeset viewer.