- File:
-
- 1 edited
-
libcfa/src/concurrency/stats.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.hfa
r78ea291 r3bd4293 2 2 3 3 // #define CFA_STATS_ARRAY 10000 4 // #define __CFA_NO_STATISTICS__5 4 6 5 #include <stdint.h> … … 23 22 // number of successes at poping 24 23 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; 25 33 }; 26 34 … … 63 71 volatile uint64_t migration; 64 72 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 67 74 } threads; 68 75 struct {
Note:
See TracChangeset
for help on using the changeset viewer.