- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r73f4d08 rec43cf9 359 359 #if !defined(__CFA_NO_STATISTICS__) 360 360 __tls_stats()->ready.threads.threads++; 361 __push_stat( __tls_stats(), __tls_stats()->ready.threads.threads, false, "Processor", this );362 361 #endif 363 362 // This is case 2, the racy case, someone tried to run this thread before it finished blocking … … 377 376 #if !defined(__CFA_NO_STATISTICS__) 378 377 __tls_stats()->ready.threads.threads--; 379 __push_stat( __tls_stats(), __tls_stats()->ready.threads.threads, false, "Processor", this );380 378 #endif 381 379 … … 457 455 if( kernelTLS().this_stats ) { 458 456 __tls_stats()->ready.threads.threads++; 459 __push_stat( __tls_stats(), __tls_stats()->ready.threads.threads, false, "Processor", kernelTLS().this_processor );460 457 } 461 458 else { 462 459 __atomic_fetch_add(&cl->stats->ready.threads.threads, 1, __ATOMIC_RELAXED); 463 __push_stat( cl->stats, cl->stats->ready.threads.threads, true, "Cluster", cl );464 460 } 465 461 #endif
Note:
See TracChangeset
for help on using the changeset viewer.