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

Function NumberOfProcessorGroups

benchmarks/tbb/tbb_misc_ex.cpp:314–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314int NumberOfProcessorGroups() {
315 __TBB_ASSERT( hardware_concurrency_info == initialization_complete, "NumberOfProcessorGroups is used before AvailableHwConcurrency" );
316 return ProcessorGroupInfo::NumGroups;
317}
318
319// Offset for the slot reserved for the first master thread
320#define HoleAdjusted(procIdx, grpIdx) (procIdx + (holeIdx <= grpIdx))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected