Lines Matching refs:threadIds
64 APerformanceHintSession* createSession(const int32_t* threadIds, size_t size,
99 int setThreads(const int32_t* threadIds, size_t size);
100 int getThreadIds(int32_t* const threadIds, size_t* size);
184 const int32_t* threadIds, size_t size, int64_t initialTargetWorkDurationNanos, in createSession() argument
186 std::vector<int32_t> tids(threadIds, threadIds + size); in createSession()
298 int APerformanceHintSession::setThreads(const int32_t* threadIds, size_t size) { in setThreads() argument
303 std::vector<int32_t> tids(threadIds, threadIds + size); in setThreads()
321 int APerformanceHintSession::getThreadIds(int32_t* const threadIds, size_t* size) { in getThreadIds() argument
331 if (threadIds == nullptr) { in getThreadIds()
339 threadIds[i] = tids[i]; in getThreadIds()
469 const int32_t* threadIds, size_t size, in APerformanceHint_createSession() argument
472 VALIDATE_PTR(threadIds) in APerformanceHint_createSession()
473 return manager->createSession(threadIds, size, initialTargetWorkDurationNanos); in APerformanceHint_createSession()
477 APerformanceHintManager* manager, const int32_t* threadIds, size_t size, in APerformanceHint_createSessionInternal() argument
480 VALIDATE_PTR(threadIds) in APerformanceHint_createSessionInternal()
481 return manager->createSession(threadIds, size, initialTargetWorkDurationNanos, in APerformanceHint_createSessionInternal()
513 int APerformanceHint_setThreads(APerformanceHintSession* session, const pid_t* threadIds, in APerformanceHint_setThreads() argument
516 VALIDATE_PTR(threadIds) in APerformanceHint_setThreads()
517 return session->setThreads(threadIds, size); in APerformanceHint_setThreads()
520 int APerformanceHint_getThreadIds(APerformanceHintSession* session, int32_t* const threadIds, in APerformanceHint_getThreadIds() argument
523 return session->getThreadIds(threadIds, size); in APerformanceHint_getThreadIds()