MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / workers_task_node_count

Method workers_task_node_count

benchmarks/tbb/arena.cpp:480–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478
479#if __TBB_COUNT_TASK_NODES
480intptr_t arena::workers_task_node_count() {
481 intptr_t result = 0;
482 for( unsigned i = 1; i < my_num_slots; ++i ) {
483 generic_scheduler* s = my_slots[i].my_scheduler;
484 if( s )
485 result += s->my_task_node_count;
486 }
487 return result;
488}
489#endif /* __TBB_COUNT_TASK_NODES */
490
491void arena::enqueue_task( task& t, intptr_t prio, FastRandom &random )

Callers 1

get_task_node_countMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected