Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 9 of 9) sorted by relevance

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_service_test.cpp250 ThermalConfigSensorCluster cluster; variable
251 cluster.sensorInfolist_.clear();
252 EXPECT_FALSE(cluster.CheckStandard());
259 cluster.sensorInfolist_["test"] = vecLevel;
260 EXPECT_FALSE(cluster.CheckStandard());
266 cluster.sensorInfolist_["test"] = vecLevel;
268 cluster.auxSensorInfolist_["test"] = auxLevel;
269 EXPECT_TRUE(cluster.CheckStandard());
275 cluster.auxSensorInfolist_["test"] = auxLevel;
276 EXPECT_FALSE(cluster.CheckStandard());
[all …]
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp88 for (auto cluster = sensorClusterMap_.begin(); cluster != sensorClusterMap_.end(); cluster++) { in LevelDecision() local
89 THERMAL_HILOGD(COMP_SVC, "update [%{public}s] level", cluster->first.c_str()); in LevelDecision()
90 cluster->second->UpdateThermalLevel(typeTempMap_); in LevelDecision()
91 uint32_t level = cluster->second->GetCurrentLevel(); in LevelDecision()
92 clusterLevelMap_[cluster->first] = level; in LevelDecision()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_parser.cpp54 uint16_t BatteryStatsParser::GetSpeedNum(uint16_t cluster) in GetSpeedNum() argument
57 if (cluster == i) { in GetSpeedNum()
59 cluster); in GetSpeedNum()
Dcpu_time_reader.cpp84 int64_t CpuTimeReader::GetUidCpuClusterTimeMs(int32_t uid, uint32_t cluster) in GetUidCpuClusterTimeMs() argument
90 if (cluster < cpuClusterTimeVector.size()) { in GetUidCpuClusterTimeMs()
91 cpuClusterTime = cpuClusterTimeVector[cluster]; in GetUidCpuClusterTimeMs()
93 std::to_string(cpuClusterTime).c_str(), cluster); in GetUidCpuClusterTimeMs()
95 … STATS_HILOGD(COMP_SVC, "No cpu cluster time of cluster: %{public}d found, return 0", cluster); in GetUidCpuClusterTimeMs()
103 int64_t CpuTimeReader::GetUidCpuFreqTimeMs(int32_t uid, uint32_t cluster, uint32_t speed) in GetUidCpuFreqTimeMs() argument
109 auto clusterIter = cpuFreqTimeMap.find(cluster); in GetUidCpuFreqTimeMs()
121 cluster); in GetUidCpuFreqTimeMs()
/base/powermgr/battery_statistics/services/native/include/
Dbattery_stats_parser.h42 uint16_t GetSpeedNum(uint16_t cluster);
Dcpu_time_reader.h30 int64_t GetUidCpuClusterTimeMs(int32_t uid, uint32_t cluster);
31 int64_t GetUidCpuFreqTimeMs(int32_t uid, uint32_t cluster, uint32_t speed);
/base/powermgr/thermal_manager/
DREADME.md107 … # sensor_cluster directory, used to configure a cluster of sensors. Wherein, name indicates the c…
/base/hiviewdfx/hidumper/
DREADME.md67 2. Run the **hidumper -lc** command to obtain the system information cluster list.
79 4. Run the **hidumper -c [base | system]** to obtain the system cluster information that is classi…
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js17cluster=n.cluster}catch(n){t=new $u("log4js",ju.ERROR,["Unable to parse log:",e,"because: ",n])}re…