Changeset 8d66610 for libcfa/src/concurrency/stats.hfa
- Timestamp:
- May 21, 2021, 4:48:10 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f1bce515
- Parents:
- 5407cdc (diff), 7404cdc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
libcfa/src/concurrency/stats.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.hfa
r5407cdc r8d66610 2 2 3 3 // #define CFA_STATS_ARRAY 10000 4 // #define __CFA_NO_STATISTICS__ 4 5 5 6 #include <stdint.h> … … 22 23 // number of successes at poping 23 24 volatile uint64_t success; 24 25 // number of attempts failed due to the lock being held26 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;33 25 }; 34 26 … … 71 63 volatile uint64_t migration; 72 64 volatile uint64_t extunpark; 73 volatile int64_t threads; // number of threads in the system, includes only local change 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 74 67 } threads; 75 68 struct {
Note:
See TracChangeset
for help on using the changeset viewer.