Home
last modified time | relevance | path

Searched refs:threadsCount (Results 1 – 6 of 6) sorted by relevance

/TaskScheduler/SchedulerTests/Tests/
H A DAtomicTests.cpp213 uint32 threadsCount = MT_ARRAY_SIZE(threads); in SUITE() local
215 printf("threads count %d\n", threadsCount); in SUITE()
217 for(uint32 i = 0; i < threadsCount; i++) in SUITE()
224 for(uint32 i = 0; i < threadsCount; i++) in SUITE()
229 uint32 expectedSharedValue = (10000000 * threadsCount); in SUITE()
/TaskScheduler/Scheduler/Source/
H A DMTScheduler.cpp51threadsCount.StoreRelaxed( MT::Clamp(workerThreadsCount, (uint32)1, (uint32)MT_MAX_THREAD_COUNT) ); in TaskScheduler()
141 threadsCount.Store(0); in JoinWorkerThreads()
451 int32 totalThreadsCount = context.taskScheduler->threadsCount.LoadRelaxed(); in SchedulerFiberMain()
636 int bucketIndex = ((roundRobinIndex + i) % threadsCount.LoadRelaxed()); in RunTasksImpl()
698 int bucketIndex = roundRobinThreadIndex.IncFetch() % threadsCount.LoadRelaxed(); in RunTasksImpl()
810 if (threadsCount.LoadRelaxed() <= (int32)minWorkersCount) in IsTaskStealingDisabled()
820 return threadsCount.LoadRelaxed(); in GetWorkersCount()
826 int32 threadsCount = GetWorkersCount(); in IsWorkerThread() local
827 for (int32 i = 0; i < threadsCount; i++) in IsWorkerThread()
902 void TaskScheduler::NotifyThreadsCreated(uint32 threadsCount) in NotifyThreadsCreated() argument
[all …]
/TaskScheduler/Scheduler/Include/
H A DMTProfilerEventListener.h44 virtual void OnThreadsCreated(uint32 threadsCount) = 0;
H A DMTScheduler.h304 Atomic32<int32> threadsCount; variable
389 void NotifyThreadsCreated(uint32 threadsCount);
/TaskScheduler/SchedulerTests/Profiler/
H A DProfiler.cpp39 virtual void OnThreadsCreated(uint32 threadsCount) override in OnThreadsCreated() argument
41 MT_UNUSED(threadsCount); in OnThreadsCreated()
/TaskScheduler/Scheduler/Include/Platform/Posix/
H A DMTThread.h163 uint32 threadsCount = (uint32)GetNumberOfHardwareThreads(); in GetAffinityMask() local
164 for(uint32 i = 0; i < threadsCount; i++) in GetAffinityMask()