/foundation/resourceschedule/soc_perf/test/testutil/ |
H A D | socperf_test.cpp | 46 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...] |
/foundation/resourceschedule/soc_perf/services/server/src/ |
H A D | socperf_server.cpp | 82 .append(" 2. PerfRequestEx(cmdId, onOffTag, msg)\n") in Dump() 97 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 D | socperf_stub.cpp | 125 bool onOffTag = false; in StubPerfRequestEx() local 126 if (!data.ReadBool(onOffTag)) { in StubPerfRequestEx() 127 SOC_PERF_LOGE("SocPerfStub::%{public}s read onOffTag failed", __func__); in StubPerfRequestEx() 140 PerfRequestEx(cmdId, onOffTag, msg); in StubPerfRequestEx() 146 bool onOffTag = false; in StubPowerLimitBoost() local 147 if (!data.ReadBool(onOffTag)) { in StubPowerLimitBoost() 148 SOC_PERF_LOGE("SocPerfStub::%{public}s read onOffTag failed", __func__); in StubPowerLimitBoost() 161 PowerLimitBoost(onOffTag, msg); in StubPowerLimitBoost() 167 bool onOffTag = false; in StubThermalLimitBoost() local 168 if (!data.ReadBool(onOffTag)) { in StubThermalLimitBoost() [all...] |
/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/include/ |
H A D | i_socperf_service.h | 38 * @param onOffTag Indicates the start of end of a long-term frequency increase event. 41 virtual void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) = 0; 46 * @param onOffTag Indicates the start of end of a power limit boost event. 49 virtual void PowerLimitBoost(bool onOffTag, const std::string& msg) = 0; 54 * @param onOffTag Indicates the start of end of a thermal limit boost event. 57 virtual void ThermalLimitBoost(bool onOffTag, const std::string& msg) = 0;
|
H A D | socperf_proxy.h | 38 * @param onOffTag Indicates the start of end of a long-term frequency increase event. 41 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) override; 46 * @param onOffTag Indicates the start of end of a power limit boost event. 49 void PowerLimitBoost(bool onOffTag, const std::string& msg) override; 54 * @param onOffTag Indicates the start of end of a thermal limit boost event. 57 void ThermalLimitBoost(bool onOffTag, const std::string& msg) override;
|
H A D | socperf_client.h | 44 * @param onOffTag Indicates the start of end of a long-term frequency increase event. 47 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg); 52 * @param onOffTag Indicates the start of end of a power limit boost event. 55 void PowerLimitBoost(bool onOffTag, const std::string& msg); 60 * @param onOffTag Indicates the start of end of a thermal limit boost event. 63 void ThermalLimitBoost(bool onOffTag, const std::string& msg);
|
/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/src/ |
H A D | socperf_client.cpp | 117 void SocPerfClient::PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) in PerfRequestEx() argument 124 client->PerfRequestEx(cmdId, onOffTag, newMsg); in PerfRequestEx() 127 void SocPerfClient::PowerLimitBoost(bool onOffTag, const std::string& msg) in PowerLimitBoost() argument 134 client->PowerLimitBoost(onOffTag, newMsg); in PowerLimitBoost() 137 void SocPerfClient::ThermalLimitBoost(bool onOffTag, const std::string& msg) in ThermalLimitBoost() argument 144 client->ThermalLimitBoost(onOffTag, newMsg); in ThermalLimitBoost()
|
H A D | socperf_proxy.cpp | 36 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()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_processor.cpp | 57 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() [all...] |
H A D | rs_processor.h | 106 void RequestPerf(uint32_t layerLevel, bool onOffTag);
|
H A D | rs_uni_render_thread.cpp | 87 void PerfRequest(int32_t perfRequestCode, bool onOffTag) in PerfRequest() argument 90 OHOS::SOCPERF::SocPerfClient::GetInstance().PerfRequestEx(perfRequestCode, onOffTag, ""); in PerfRequest() 91 RS_LOGD("RSUniRenderThread::soc perf info [%{public}d %{public}d]", perfRequestCode, onOffTag); in PerfRequest()
|
H A D | rs_main_thread.cpp | 216 void PerfRequest(int32_t perfRequestCode, bool onOffTag) in PerfRequest() argument 219 OHOS::SOCPERF::SocPerfClient::GetInstance().PerfRequestEx(perfRequestCode, onOffTag, ""); in PerfRequest() 220 RS_LOGD("RSMainThread::soc perf info [%{public}d %{public}d]", perfRequestCode, onOffTag); in PerfRequest()
|
/foundation/resourceschedule/soc_perf/services/core/src/ |
H A D | socperf.cpp | 112 void SocPerf::PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) in PerfRequestEx() argument 122 if (!CheckTimeInterval(onOffTag, cmdId)) { in PerfRequestEx() 127 SOC_PERF_LOGD("cmdId[%{public}d]matchCmdId[%{public}d]onOffTag[%{public}d]msg[%{public}s]", in PerfRequestEx() 128 cmdId, matchCmdId, onOffTag, msg.c_str()); in PerfRequestEx() 132 trace_str.append(",onOff[").append(std::to_string(onOffTag)).append("]"); in PerfRequestEx() 135 DoFreqActions(socPerfConfig_.perfActionsInfo_[matchCmdId], onOffTag ? EVENT_ON : EVENT_OFF, ACTION_TYPE_PERF); in PerfRequestEx() 137 if (onOffTag) { in PerfRequestEx() 142 void SocPerf::PowerLimitBoost(bool onOffTag, const std::string& msg) in PowerLimitBoost() argument 148 SOC_PERF_LOGI("onOffTag[%{public}d]msg[%{public}s]", onOffTag, ms in PowerLimitBoost() 167 ThermalLimitBoost(bool onOffTag, const std::string& msg) ThermalLimitBoost() argument [all...] |
/foundation/resourceschedule/soc_perf/services/server/include/ |
H A D | socperf_server.h | 34 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;
|
/foundation/resourceschedule/soc_perf/test/fuzztest/include/ |
H A D | socperf_fuzz_mock.h | 30 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string &msg) override {} 31 void PowerLimitBoost(bool onOffTag, const std::string &msg) override {} 32 void ThermalLimitBoost(bool onOffTag, const std::string &msg) override {}
|
/foundation/resourceschedule/soc_perf/services/core/include/ |
H A D | socperf.h | 30 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);
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_physical_screen_processor_unit_test.cpp | 144 bool onOffTag = true;
in HWTEST_F() local 146 rsHardwareProcessor->RequestPerf(level, onOffTag);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_physical_screen_processor_test.cpp | 307 bool onOffTag = true;
in HWTEST_F() local 309 rsHardwareProcessor->RequestPerf(level, onOffTag);
in HWTEST_F()
|
/foundation/resourceschedule/soc_perf/test/unittest/ |
H A D | socperf_server_test.cpp | 435 void PerfRequestEx(int32_t cmdId, bool onOffTag, const std::string& msg) override {} 436 void PowerLimitBoost(bool onOffTag, const std::string& msg) override {} 437 void ThermalLimitBoost(bool onOffTag, const std::string& msg) override {}
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | move_drag_controller.h | 165 void ResSchedReportData(int32_t type, bool onOffTag);
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 1107 void MoveDragController::ResSchedReportData(int32_t type, bool onOffTag) in ResSchedReportData() argument 1112 if (onOffTag) { in ResSchedReportData() 1117 WLOGFD("ResSchedReportData success type: %{public}d onOffTag: %{public}d", type, onOffTag); in ResSchedReportData()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 2269 bool onOffTag = false; in OnPerfRequestEx() local 2270 if (!ConvertFromJsValue(env, argv[0], cmdId) || !ConvertFromJsValue(env, argv[1], onOffTag)) { in OnPerfRequestEx() 2271 WLOGFE("[NAPI]Failed to convert parameter to cmdId or onOffTag"); in OnPerfRequestEx() 2285 OHOS::SOCPERF::SocPerfClient::GetInstance().PerfRequestEx(cmdId, onOffTag, msg); in OnPerfRequestEx() 2286 WLOGFD("[NAPI]success cmdId: %{public}d onOffTag: %{public}u msg:%{public}s", in OnPerfRequestEx() 2287 cmdId, static_cast<uint32_t>(onOffTag), msg.c_str()); in OnPerfRequestEx()
|