Lines Matching refs:APerformanceHintSession
49 struct APerformanceHintSession;
64 APerformanceHintSession* createSession(const int32_t* threadIds, size_t size,
87 struct APerformanceHintSession { struct
89 APerformanceHintSession(std::shared_ptr<IHintManager> hintManager,
93 APerformanceHintSession() = delete;
94 ~APerformanceHintSession();
139 int64_t APerformanceHintSession::sIDCounter = INT32_MAX; argument
183 APerformanceHintSession* APerformanceHintManager::createSession( in createSession()
196 auto out = new APerformanceHintSession(mHintManager, std::move(session), mPreferredRateNanos, in createSession()
211 APerformanceHintSession::APerformanceHintSession(std::shared_ptr<IHintManager> hintManager, in APerformanceHintSession() function in APerformanceHintSession
234 APerformanceHintSession::~APerformanceHintSession() { in ~APerformanceHintSession()
241 int APerformanceHintSession::updateTargetWorkDuration(int64_t targetDurationNanos) { in updateTargetWorkDuration()
266 int APerformanceHintSession::reportActualWorkDuration(int64_t actualDurationNanos) { in reportActualWorkDuration()
275 int APerformanceHintSession::sendHint(SessionHint hint) { in sendHint()
298 int APerformanceHintSession::setThreads(const int32_t* threadIds, size_t size) { in setThreads()
321 int APerformanceHintSession::getThreadIds(int32_t* const threadIds, size_t* size) { in getThreadIds()
344 int APerformanceHintSession::setPreferPowerEfficiency(bool enabled) { in setPreferPowerEfficiency()
359 int APerformanceHintSession::reportActualWorkDuration(AWorkDuration* workDuration) { in reportActualWorkDuration()
363 int APerformanceHintSession::reportActualWorkDurationInternal(AWorkDuration* workDuration) { in reportActualWorkDurationInternal()
408 void APerformanceHintSession::traceThreads(std::vector<int32_t>& tids) { in traceThreads()
430 void APerformanceHintSession::tracePowerEfficient(bool powerEfficient) { in tracePowerEfficient()
434 void APerformanceHintSession::traceActualDuration(int64_t actualDuration) { in traceActualDuration()
438 void APerformanceHintSession::traceBatchSize(size_t batchSize) { in traceBatchSize()
443 void APerformanceHintSession::traceTargetDuration(int64_t targetDuration) { in traceTargetDuration()
468 APerformanceHintSession* APerformanceHint_createSession(APerformanceHintManager* manager, in APerformanceHint_createSession()
476 APerformanceHintSession* APerformanceHint_createSessionInternal( in APerformanceHint_createSessionInternal()
490 int APerformanceHint_updateTargetWorkDuration(APerformanceHintSession* session, in APerformanceHint_updateTargetWorkDuration()
496 int APerformanceHint_reportActualWorkDuration(APerformanceHintSession* session, in APerformanceHint_reportActualWorkDuration()
503 void APerformanceHint_closeSession(APerformanceHintSession* session) { in APerformanceHint_closeSession()
508 int APerformanceHint_sendHint(APerformanceHintSession* session, SessionHint hint) { in APerformanceHint_sendHint()
513 int APerformanceHint_setThreads(APerformanceHintSession* session, const pid_t* threadIds, in APerformanceHint_setThreads()
520 int APerformanceHint_getThreadIds(APerformanceHintSession* session, int32_t* const threadIds, in APerformanceHint_getThreadIds()
526 int APerformanceHint_setPreferPowerEfficiency(APerformanceHintSession* session, bool enabled) { in APerformanceHint_setPreferPowerEfficiency()
531 int APerformanceHint_reportActualWorkDuration2(APerformanceHintSession* session, in APerformanceHint_reportActualWorkDuration2()