Home
last modified time | relevance | path

Searched refs:cpuBoostCtxId (Results 1 - 3 of 3) sorted by relevance

/foundation/resourceschedule/ffrt/src/util/
H A Dffrt_cpu_boost.cpp37 if (curTask != nullptr && curTask->cpuBoostCtxId < 0) { in ffrt_cpu_boost_start()
38 curTask->cpuBoostCtxId = ctx_id; in ffrt_cpu_boost_start()
50 if (curTask != nullptr && curTask->cpuBoostCtxId == ctx_id) { in ffrt_cpu_boost_end()
51 curTask->cpuBoostCtxId = -1; in ffrt_cpu_boost_end()
/foundation/resourceschedule/ffrt/src/tm/
H A Dtask_base.h60 int cpuBoostCtxId = -1; member in ffrt::CoTask
/foundation/resourceschedule/ffrt/src/eu/
H A Dco_routine.cpp396 if (task->cpuBoostCtxId >= 0) {
397 CpuBoostRestore(task->cpuBoostCtxId);
408 if (task->cpuBoostCtxId >= 0) {
409 CpuBoostSave(task->cpuBoostCtxId);

Completed in 2 milliseconds