Home
last modified time | relevance | path

Searched refs:CPU (Results 1 - 25 of 31) sorted by relevance

12

/foundation/resourceschedule/ffrt/src/eu/
H A Dexecute_unit.h40 if (likely(wManager[static_cast<size_t>(DevType::CPU)])) { in NotifyTaskAdded()
41 wManager[static_cast<size_t>(DevType::CPU)]->NotifyTaskAdded(qos); in NotifyTaskAdded()
47 if (likely(wManager[static_cast<size_t>(DevType::CPU)])) { in NotifyWorkers()
48 wManager[static_cast<size_t>(DevType::CPU)]->NotifyWorkers(qos, number); in NotifyWorkers()
55 wManager[static_cast<size_t>(DevType::CPU)]->NotifyLocalTaskAdded(qos); in NotifyLocalTaskAdded()
61 return wManager[static_cast<size_t>(DevType::CPU)]->GetSleepCtl(qos); in GetSleepCtl()
66 return wManager[static_cast<size_t>(DevType::CPU)]->GetGroupCtl(); in GetGroupCtl()
71 return wManager[static_cast<size_t>(DevType::CPU)]->GetCPUMonitor(); in GetCPUMonitor()
H A Dexecute_unit.cpp59 case DevType::CPU: in CreateWorkerManager()
/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_efficiency_resources_mgr_test.cpp239 resourceInfo->resourceNumber_ = ResourceType::CPU in HWTEST_F()
243 resourceInfo->resourceNumber_ = ResourceType::CPU; in HWTEST_F()
418 sptr<EfficiencyResourceInfo> resourceInfo = new (std::nothrow) EfficiencyResourceInfo(ResourceType::CPU, true, in HWTEST_F()
440 appRecord->resourceNumber_ = ResourceType::CPU | ResourceType::COMMON_EVENT; in HWTEST_F()
441 appRecord->resourceUnitList_.emplace_back(0, true, 0, "CPU"); in HWTEST_F()
505 ResourceType::CPU | ResourceType::WORK_SCHEDULER, true, 0, "apply", true, true); in HWTEST_F()
511 resourceInfo->resourceNumber_ = ResourceType::CPU; in HWTEST_F()
525 ResourceType::CPU, true, 0, "apply", true, true); in HWTEST_F()
549 resourceInfo->resourceNumber_ = ResourceType::CPU | ResourceType::WORK_SCHEDULER | ResourceType::COMMON_EVENT; in HWTEST_F()
563 resourceInfo->resourceNumber_ = ResourceType::CPU; in HWTEST_F()
[all...]
H A Dmock_efficiency_resources_mgr_test.cpp101 auto exemptedType = bgEfficiencyResourcesMgr_->GetExemptedResourceType(ResourceType::CPU, -1, ""); in HWTEST_F()
122 * @tc.desc: should return CPU when resource list contain CPU_INDEX
132 EXPECT_EQ(exemptedType, ResourceType::CPU); in HWTEST_F()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dbrightness_efilter.cpp39 IPType::CPU, in BrightnessEFilter()
142 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU, IPType::GPU }); in GetEffectInfo()
143 info_->formats_.emplace(IEffectFormat::YUVNV21, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
144 info_->formats_.emplace(IEffectFormat::YUVNV12, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcontrast_efilter.cpp38 IPType::CPU, in ContrastEFilter()
141 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU, IPType::GPU }); in GetEffectInfo()
142 info_->formats_.emplace(IEffectFormat::YUVNV21, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
143 info_->formats_.emplace(IEffectFormat::YUVNV12, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Dresource_type.h28 CPU = 1,
/foundation/multimedia/image_effect/interfaces/inner_api/native/base/
H A Deffect_info.h29 CPU, member in OHOS::Media::Effect::IPType
/foundation/resourceschedule/ffrt/src/sched/
H A Dframe_interval.cpp32 FFRTFacade::GetEUInstance().BindWG(DevType::CPU, this->qos); in FrameInterval()
H A Dinterval.cpp45 tg = FFRTFacade::GetEUInstance().BindTG(DevType::CPU, this->qos);
52 FFRTFacade::GetEUInstance().UnbindTG(DevType::CPU, qos); in ~PerfCtrl()
/foundation/resourceschedule/ffrt/src/internal_inc/
H A Dtypes.h37 CPU, member in ffrt::DevType
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dinit_bgtaskmgr.cpp77 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::CPU), "CPU"); in BackgroundModeInit()
/foundation/multimedia/image_effect/interfaces/inner_api/native/effect/
H A Dimage_effect_inner.h143 { IPType::CPU, IPType::GPU },
/foundation/multimedia/image_effect/frameworks/native/efilter/base/
H A Defilter.cpp175 if (it == formats.end() && runningIPType == IPType::CPU) { in IpTypeConvert()
197 context->ipType_ = IPType::CPU; in ConvertFromGPU2CPU()
359 ipType = IPType::CPU; in CalculateEFilterIPType()
369 if (runningType == IPType::CPU) { in CreateDmaEffectBufferIfNeed()
/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dnative_common_utils.cpp51 { IPType::CPU, ImageEffect_BufferType::EFFECT_BUFFER_TYPE_PIXEL },
293 effectInfo->formats_.emplace(format.first, std::vector<IPType>{ IPType::CPU }); in SwitchToEffectInfo()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/
H A Dcrop_efilter.cpp233 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
234 info_->formats_.emplace(IEffectFormat::RGBA_1010102, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/
H A Deffect_memory_manager.cpp117 if (runningIPType_ == IPType::CPU) { in AllocMemory()
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp339 if ((resourceInfo->GetResourceNumber() & ResourceType::CPU) !=0) { in ApplyResourceForPkgAndProc()
341 procResourceInfo->SetResourceNumber(ResourceType::CPU); in ApplyResourceForPkgAndProc()
344 int resourceNumber = resourceInfo->GetResourceNumber() & (~ResourceType::CPU); in ApplyResourceForPkgAndProc()
/foundation/multimedia/image_effect/frameworks/native/effect/base/
H A Dimage_effect_inner.cpp144 { std::underlying_type<RunningType>::type(RunningType::FOREGROUND), { IPType::CPU, IPType::GPU } }, member in OHOS::Media::Effect::IPType
145 { std::underlying_type<RunningType>::type(RunningType::BACKGROUND), { IPType::CPU } },
295 configIPTypes = { IPType::CPU, IPType::GPU }; in GetConfigIPTypes()
304 configIPTypes = { IPType::CPU, IPType::GPU }; in GetConfigIPTypes()
340 runningIPType = IPType::CPU; in ChooseIPType()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v1_0.cpp34 case V1_0::DeviceType::CPU: in TransHDIDeviceV1_0Type()
H A Dhdi_device_v2_1.cpp38 case V2_1::DeviceType::CPU: in TransHDIDeviceV2_1Type()
H A Dhdi_device_v2_0.cpp38 case V2_0::DeviceType::CPU: in TransHDIDeviceV2_0Type()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp47 name = "RK3568-CPU"; in GetDeviceName()
59 deviceType = DeviceType::CPU; in GetDeviceType()
/foundation/multimedia/image_effect/test/unittest/
H A DTestImageEffect.cpp77 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU });
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_subscriber.cpp496 BackgroundTaskMgr::ResourceType::CPU, true, 0, "apply", true, true); in DoBackgroundOperation()

Completed in 19 milliseconds

12