Searched refs:WorkPool (Results 1 – 4 of 4) sorted by relevance
68 bool waitAllLocked(WorkPool::TimeoutUs timeout) { in waitAllLocked()74 bool waitAnyLocked(WorkPool::TimeoutUs timeout) { in waitAnyLocked()92 bool doWait(WorkPool::TimeoutUs timeout) { in doWait()102 struct timespec getDeadline(WorkPool::TimeoutUs relative) { in getDeadline()127 … bool conditionalTimeoutLocked(std::function<bool()> conditionFunc, WorkPool::TimeoutUs timeout) { in conditionalTimeoutLocked()129 WorkPool::TimeoutUs currTimeout = timeout; in conditionalTimeoutLocked()136 WorkPool::TimeoutUs waited = in conditionalTimeoutLocked()227 bool run(WorkPool::WaitGroupHandle waitGroupHandle, WaitGroup* waitGroup, WorkPool::Task task) { in run()253 bool shouldCleanupWaitGroup(WorkPool::WaitGroupHandle* waitGroupHandle, WaitGroup** waitGroup) { in shouldCleanupWaitGroup()271 WorkPool::Task task = {};[all …]
30 class WorkPool {36 WorkPool(int numInitialThreads = 4);37 ~WorkPool();
41 using gfxstream::guest::WorkPool;909 WorkPool mWorkPool{4}; in GOLDFISH_VK_LIST_HANDLE_TYPES()910 std::unordered_map<VkQueue, std::vector<WorkPool::WaitGroupHandle>>
4772 std::vector<WorkPool::Task> tasks; in on_vkWaitForFences()5943 std::vector<WorkPool::Task> preSignalTasks; in on_vkQueueSubmitTemplate()5944 std::vector<WorkPool::Task> preSignalQueueSubmitTasks; in on_vkQueueSubmitTemplate()5998 std::vector<WorkPool::Task> tasks; in on_vkQueueSubmitTemplate()6040 std::vector<WorkPool::WaitGroupHandle> toWait = mQueueSensitiveWorkPoolItems[queue]; in on_vkQueueWaitIdle()