Home
last modified time | relevance | path

Searched refs:mCoefficients (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/powerstats/dataproviders/
DPowerStatsEnergyConsumer.cpp105 mCoefficients.emplace(s.id, stateCoeffs.at(s.name)); in addPowerEntity()
112 return (mCoefficients.size() == stateCoeffs.size()); in addPowerEntity()
138 mCoefficients.emplace(stateId, stateCoeffs.at(stateName)); in addAttribution()
144 return (mCoefficients.size() == stateCoeffs.size()); in addAttribution()
165 if (!mCoefficients.empty()) { in getEnergyConsumed()
175 if (mCoefficients.count(id)) { in getEnergyConsumed()
180 uidEnergyUWs += mCoefficients.at(id) * d_time_in_state; in getEnergyConsumed()
210 if (mCoefficients.count(s.id)) { in getEnergyConsumed()
211 totalEnergyUWs += mCoefficients.at(s.id) * s.totalTimeInStateMs; in getEnergyConsumed()
/hardware/google/pixel/powerstats/include/dataproviders/
DPowerStatsEnergyConsumer.h94 std::map<int32_t, int32_t> mCoefficients; // key = stateId, val = coefficients (mW) variable