/foundation/resourceschedule/ffrt/src/eu/ |
H A D | execute_unit.h | 40 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 D | execute_unit.cpp | 59 case DevType::CPU: in CreateWorkerManager()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 239 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 D | mock_efficiency_resources_mgr_test.cpp | 101 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 D | brightness_efilter.cpp | 39 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 D | contrast_efilter.cpp | 38 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 D | resource_type.h | 28 CPU = 1,
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/base/ |
H A D | effect_info.h | 29 CPU, member in OHOS::Media::Effect::IPType
|
/foundation/resourceschedule/ffrt/src/sched/ |
H A D | frame_interval.cpp | 32 FFRTFacade::GetEUInstance().BindWG(DevType::CPU, this->qos); in FrameInterval()
|
H A D | interval.cpp | 45 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 D | types.h | 37 CPU, member in ffrt::DevType
|
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | init_bgtaskmgr.cpp | 77 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::CPU), "CPU"); in BackgroundModeInit()
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/effect/ |
H A D | image_effect_inner.h | 143 { IPType::CPU, IPType::GPU },
|
/foundation/multimedia/image_effect/frameworks/native/efilter/base/ |
H A D | efilter.cpp | 175 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 D | native_common_utils.cpp | 51 { 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 D | crop_efilter.cpp | 233 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 D | effect_memory_manager.cpp | 117 if (runningIPType_ == IPType::CPU) { in AllocMemory()
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 339 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 D | image_effect_inner.cpp | 144 { 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 D | hdi_device_v1_0.cpp | 34 case V1_0::DeviceType::CPU: in TransHDIDeviceV1_0Type()
|
H A D | hdi_device_v2_1.cpp | 38 case V2_1::DeviceType::CPU: in TransHDIDeviceV2_1Type()
|
H A D | hdi_device_v2_0.cpp | 38 case V2_0::DeviceType::CPU: in TransHDIDeviceV2_0Type()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | nnrt_device_service.cpp | 47 name = "RK3568-CPU"; in GetDeviceName() 59 deviceType = DeviceType::CPU; in GetDeviceType()
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestImageEffect.cpp | 77 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU });
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_subscriber.cpp | 496 BackgroundTaskMgr::ResourceType::CPU, true, 0, "apply", true, true); in DoBackgroundOperation()
|