Lines Matching refs:pIns
38 CPUWorkerManager* pIns = reinterpret_cast<CPUWorkerManager*>(manager); in CreateCPUWorker() local
42 [pIns] (WorkerThread* thread) { return pIns->PickUpTaskFromGlobalQueue(thread); }, in CreateCPUWorker()
43 [pIns] (const WorkerThread* thread) { pIns->NotifyTaskPicked(thread); }, in CreateCPUWorker()
44 [pIns] (const WorkerThread* thread) { return pIns->WorkerIdleAction(thread); }, in CreateCPUWorker()
45 [pIns] (WorkerThread* thread) { pIns->WorkerRetired(thread); }, in CreateCPUWorker()
46 [pIns] (WorkerThread* thread) { pIns->WorkerPrepare(thread); }, in CreateCPUWorker()
47 [pIns] (const WorkerThread* thread, int timeout) { return pIns->TryPoll(thread, timeout); }, in CreateCPUWorker()
48 [pIns] (WorkerThread* thread) { return pIns->StealTaskBatch(thread); }, in CreateCPUWorker()
49 [pIns] (WorkerThread* thread) { return pIns->PickUpTaskBatch(thread); }, in CreateCPUWorker()
51 [pIns] (const WorkerThread* thread) { return pIns->IsExceedRunningThreshold(thread); }, in CreateCPUWorker()
52 [pIns] () { return pIns->IsBlockAwareInit(); }, in CreateCPUWorker()
59 … ops.WorkerRetired = [pIns] (WorkerThread* thread) { pIns->WorkerRetiredSimplified(thread); }; in CreateCPUWorker()
63 return new (std::nothrow) CPUWorker(qos, std::move(ops), pIns); in CreateCPUWorker()
74 SCPUWorkerManager* pIns = reinterpret_cast<SCPUWorkerManager*>(manager); in CreateCPUMonitor() local
77 [pIns] (const QoS& qos) { return pIns->IncWorker(qos); }, in CreateCPUMonitor()
78 [pIns] (const QoS& qos) { pIns->WakeupWorkers(qos); }, in CreateCPUMonitor()
79 [pIns] (const QoS& qos) { return pIns->GetTaskCount(qos); }, in CreateCPUMonitor()
80 [pIns] (const QoS& qos) { return pIns->GetWorkerCount(qos); }, in CreateCPUMonitor()