Home
last modified time | relevance | path

Searched refs:onOffTag (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/resourceschedule/soc_perf/test/testutil/
H A Dsocperf_test.cpp46 char* onOffTag = argv[3]; in PerfRequestEx() local
47 if (cmdId && onOffTag) { in PerfRequestEx()
48 if (strcmp(onOffTag, "true") == 0) { in PerfRequestEx()
50 } else if (strcmp(onOffTag, "false") == 0) { in PerfRequestEx()
60 char* onOffTag = argv[2]; in PowerLimitBoost() local
61 if (onOffTag) { in PowerLimitBoost()
62 if (strcmp(onOffTag, "true") == 0) { in PowerLimitBoost()
64 } else if (strcmp(onOffTag, "false") == 0) { in PowerLimitBoost()
74 char* onOffTag = argv[2]; in ThermalLimitBoost() local
75 if (onOffTag) { in ThermalLimitBoost()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_processor.cpp57 void PerfRequest(int32_t perfRequestCode, bool onOffTag) in PerfRequest() argument
60 OHOS::SOCPERF::SocPerfClient::GetInstance().PerfRequestEx(perfRequestCode, onOffTag, ""); in PerfRequest()
61 RS_LOGD("RSProcessor::soc perf info [%{public}d %{public}d]", perfRequestCode, onOffTag); in PerfRequest()
95 void RSProcessor::RequestPerf(uint32_t layerLevel, bool onOffTag) in RequestPerf() argument
104 PerfRequest(PERF_LEVEL_1_REQUESTED_CODE, onOffTag); in RequestPerf()
105 RS_LOGD("RsDebug RSProcessor::Perf: level1 %{public}d", onOffTag); in RequestPerf()
109 PerfRequest(PERF_LEVEL_2_REQUESTED_CODE, onOffTag); in RequestPerf()
110 RS_LOGD("RsDebug RSProcessor::Perf: level2 %{public}d", onOffTag); in RequestPerf()
114 PerfRequest(PERF_LEVEL_3_REQUESTED_CODE, onOffTag); in RequestPerf()
115 RS_LOGD("RsDebug RSProcessor::Perf: level3 %{public}d", onOffTag); in RequestPerf()
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/src/
H A Dsocperf.cpp121 if (!CheckTimeInterval(onOffTag, cmdId)) { in PerfRequestEx()
127 cmdId, matchCmdId, onOffTag, msg.c_str()); in PerfRequestEx()
131 trace_str.append(",onOff[").append(std::to_string(onOffTag)).append("]"); in PerfRequestEx()
136 if (onOffTag) { in PerfRequestEx()
141 void SocPerf::PowerLimitBoost(bool onOffTag, const std::string& msg) in PowerLimitBoost() argument
150 trace_str.append(",onOff[").append(std::to_string(onOffTag)).append("]"); in PowerLimitBoost()
154 socperfThreadWrap_->UpdatePowerLimitBoostFreq(onOffTag); in PowerLimitBoost()
162 "ON_OFF_TAG", onOffTag); in PowerLimitBoost()
166 void SocPerf::ThermalLimitBoost(bool onOffTag, const std::string& msg) in ThermalLimitBoost() argument
178 socperfThreadWrap_->UpdateThermalLimitBoostFreq(onOffTag); in ThermalLimitBoost()
[all …]
/ohos5.0/foundation/resourceschedule/soc_perf/services/server/src/
H A Dsocperf_server.cpp97 void SocPerfServer::PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) in PerfRequestEx() argument
99 socPerf.PerfRequestEx(cmdId, onOffTag, msg); in PerfRequestEx()
102 void SocPerfServer::PowerLimitBoost(bool onOffTag, const std::string& msg) in PowerLimitBoost() argument
104 socPerf.PowerLimitBoost(onOffTag, msg); in PowerLimitBoost()
107 void SocPerfServer::ThermalLimitBoost(bool onOffTag, const std::string& msg) in ThermalLimitBoost() argument
109 socPerf.ThermalLimitBoost(onOffTag, msg); in ThermalLimitBoost()
H A Dsocperf_stub.cpp125 bool onOffTag = false; in StubPerfRequestEx() local
126 if (!data.ReadBool(onOffTag)) { in StubPerfRequestEx()
140 PerfRequestEx(cmdId, onOffTag, msg); in StubPerfRequestEx()
146 bool onOffTag = false; in StubPowerLimitBoost() local
147 if (!data.ReadBool(onOffTag)) { in StubPowerLimitBoost()
161 PowerLimitBoost(onOffTag, msg); in StubPowerLimitBoost()
167 bool onOffTag = false; in StubThermalLimitBoost() local
168 if (!data.ReadBool(onOffTag)) { in StubThermalLimitBoost()
182 ThermalLimitBoost(onOffTag, msg); in StubThermalLimitBoost()
/ohos5.0/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/src/
H A Dsocperf_client.cpp107 void SocPerfClient::PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) in PerfRequestEx() argument
114 client->PerfRequestEx(cmdId, onOffTag, newMsg); in PerfRequestEx()
117 void SocPerfClient::PowerLimitBoost(bool onOffTag, const std::string& msg) in PowerLimitBoost() argument
124 client->PowerLimitBoost(onOffTag, newMsg); in PowerLimitBoost()
127 void SocPerfClient::ThermalLimitBoost(bool onOffTag, const std::string& msg) in ThermalLimitBoost() argument
134 client->ThermalLimitBoost(onOffTag, newMsg); in ThermalLimitBoost()
H A Dsocperf_proxy.cpp36 void SocPerfProxy::PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) in PerfRequestEx() argument
45 data.WriteBool(onOffTag); in PerfRequestEx()
51 void SocPerfProxy::PowerLimitBoost(bool onOffTag, const std::string& msg) in PowerLimitBoost() argument
59 data.WriteBool(onOffTag); in PowerLimitBoost()
65 void SocPerfProxy::ThermalLimitBoost(bool onOffTag, const std::string& msg) in ThermalLimitBoost() argument
73 data.WriteBool(onOffTag); in ThermalLimitBoost()
/ohos5.0/foundation/resourceschedule/soc_perf/
H A DREADME_ZH.md56 | PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) | 用于性能提频使用且支持ON/OFF事件 |
57 | PowerLimitBoost(bool onOffTag, const std::string& msg) | 用于限制boost无法突破功耗限频 |
58 | ThermalLimitBoost(bool onOffTag, const std::string& msg) | 用于限制boost无法突破热限频 |
62onOffTag参数的接口表示该接口支持ON/OFF的开关调频模式,一般用于生效时间不固定的长期调频事件,需要调用者手动开启或者关闭。
/ohos5.0/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/include/
H A Di_socperf_service.h41 virtual void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) = 0;
49 virtual void PowerLimitBoost(bool onOffTag, const std::string& msg) = 0;
57 virtual void ThermalLimitBoost(bool onOffTag, const std::string& msg) = 0;
H A Dsocperf_proxy.h41 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) override;
49 void PowerLimitBoost(bool onOffTag, const std::string& msg) override;
57 void ThermalLimitBoost(bool onOffTag, const std::string& msg) override;
H A Dsocperf_client.h47 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg);
55 void PowerLimitBoost(bool onOffTag, const std::string& msg);
63 void ThermalLimitBoost(bool onOffTag, const std::string& msg);
/ohos5.0/foundation/resourceschedule/soc_perf/test/fuzztest/include/
H A Dsocperf_fuzz_mock.h27 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string &msg) override {} in PerfRequestEx() argument
28 void PowerLimitBoost(bool onOffTag, const std::string &msg) override {} in PowerLimitBoost() argument
29 void ThermalLimitBoost(bool onOffTag, const std::string &msg) override {} in ThermalLimitBoost() argument
/ohos5.0/foundation/resourceschedule/soc_perf/services/server/include/
H A Dsocperf_server.h34 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) override;
35 void PowerLimitBoost(bool onOffTag, const std::string& msg) override;
36 void ThermalLimitBoost(bool onOffTag, const std::string& msg) override;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_soc_perf_client_adapter_wrapper.cpp28 void ArkSocPerfClientAdapterWrapper::ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) in ApplySocPerfConfigByIdEx() argument
30 ctocpp_->ApplySocPerfConfigByIdEx(id, onOffTag); in ApplySocPerfConfigByIdEx()
H A Dark_soc_perf_client_adapter_wrapper.h32 void ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) override;
/ohos5.0/foundation/resourceschedule/resource_schedule_service/
H A DREADME_ZH.md168 | PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) | 用于性能提频使用且支持ON/OFF事件 |
169 | PowerLimitBoost(bool onOffTag, const std::string& msg) | 用于限制boost无法突破功耗限频 |
170 | ThermalLimitBoost(bool onOffTag, const std::string& msg) | 用于限制boost无法突破热限频 |
174onOffTag参数的接口表示该接口支持ON/OFF的开关调频模式,一般用于生效时间不固定的长期调频事件,需要调用者手动开启或者关闭。
H A DREADME.md172 | PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) | Used for Performace boost f…
173 | PowerLimitBoost(bool onOffTag, const std::string& msg) | Used for Power limit freq which cannot b…
174 | ThermalLimitBoost(bool onOffTag, const std::string& msg) | Used for Thermal limit freq which cann…
178 Interface with parameter onOffTag means it support ON/OFF event. Normally, these interfaces are use…
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_soc_perf_client_adapter_impl.cpp31 void ArkSocPerfClientAdapterImpl::ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) in ApplySocPerfConfigByIdEx() argument
33 real_->ApplySocPerfConfigByIdEx(id, onOffTag); in ApplySocPerfConfigByIdEx()
H A Dark_soc_perf_client_adapter_impl.h31 void ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) override;
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/include/
H A Dsocperf.h30 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg);
31 void PowerLimitBoost(bool onOffTag, const std::string& msg);
32 void ThermalLimitBoost(bool onOffTag, const std::string& msg);
/ohos5.0/base/web/webview/ohos_adapter/soc_perf_adapter/src/
H A Dsoc_perf_client_adapter_impl.cpp63 void SocPerfClientAdapterImpl::ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) in ApplySocPerfConfigByIdEx() argument
72 int64_t value = onOffTag ? SOC_PERF_START : SOC_PERF_END; in ApplySocPerfConfigByIdEx()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_soc_perf_client_adapter.h31 virtual void ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) = 0;
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dsoc_perf_client_adapter.h44 virtual void ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) = 0;
/ohos5.0/base/web/webview/ohos_adapter/soc_perf_adapter/include/
H A Dsoc_perf_client_adapter_impl.h32 void ApplySocPerfConfigByIdEx(int32_t id, bool onOffTag) override;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_physical_screen_processor_test.cpp312 bool onOffTag = true; variable
314 rsHardwareProcessor->RequestPerf(level, onOffTag);

12