Changeset 9235192c for libcfa/src/concurrency
- Timestamp:
- Jul 5, 2023, 2:10:59 PM (17 months ago)
- Branches:
- master
- Children:
- 7c4416a
- Parents:
- 7ce70e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/actor.hfa
r7ce70e2 r9235192c 38 38 // show stats 39 39 // #define ACTOR_STATS 40 41 // used to run and only track missed queue gulps 42 #ifdef ACTOR_STATS 43 #define ACTOR_STATS_QUEUE_MISSED 44 #endif 40 45 41 46 // forward decls … … 129 134 #ifdef ACTOR_STATS 130 135 unsigned int id; 136 #endif 137 #ifdef ACTOR_STATS_QUEUE_MISSED 131 138 size_t missed; // transfers skipped due to being_processed flag being up 132 139 #endif … … 338 345 } // for 339 346 340 #ifdef ACTOR_STATS 347 #ifdef ACTOR_STATS_QUEUE_MISSED 341 348 size_t misses = 0; 342 349 for ( i; nrqueues ) { … … 365 372 printf("\tMessages stolen:\t\t\t%lu\n\tAverage steal size:\t\t\t%lu\n", __all_msgs_stolen, avg_steal); 366 373 #endif 374 375 #ifndef ACTOR_STATS 376 #ifdef ACTOR_STATS_QUEUE_MISSED 377 printf("\t%lu", misses); 378 #endif 379 #endif 367 380 368 381 }
Note: See TracChangeset
for help on using the changeset viewer.