Home
last modified time | relevance | path

Searched refs:deltaEnergy (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp60 const auto deltaEnergy = curr_sample.energy_counter - last_sample.energy_counter; in calculateAvgPower() local
61 *avg_power = static_cast<float>(deltaEnergy) / static_cast<float>(duration); in calculateAvgPower()
63 << ", duration = " << duration << ", deltaEnergy = " << deltaEnergy; in calculateAvgPower()
/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp256 int64_t deltaEnergy = 0; in dumpEnergyMeter() local
258 deltaEnergy = data.energyUWs - prevEnergyDataIt->second; in dumpEnergyMeter()
263 static_cast<float>(deltaEnergy) / 1000.0); in dumpEnergyMeter()
DPowerStats.cpp446 int64_t deltaEnergy = data.energy - prevEnergyDataIt->second; in DumpEnergyDataDiffToFd() local
450 static_cast<float>(deltaEnergy) / 1000.0); in DumpEnergyDataDiffToFd()