Home
last modified time | relevance | path

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

/hardware/google/pixel/pwrstats_util/dataproviders/
DDataProviderHelper.cpp21 int StateResidencyInterval(const StateResidency_Residency& startResidency, in StateResidencyInterval() argument
24 if (startResidency.size() != intervalResidency->size()) { in StateResidencyInterval()
29 for (int i = 0; i < startResidency.size(); ++i) { in StateResidencyInterval()
32 if (startResidency.Get(i).entity_name() != intervalResidency->Get(i).entity_name() || in StateResidencyInterval()
33 startResidency.Get(i).state_name() != intervalResidency->Get(i).state_name()) { in StateResidencyInterval()
38 auto delta = intervalResidency->Get(i).time_ms() - startResidency.Get(i).time_ms(); in StateResidencyInterval()
DPowerEntityResidencyDataProvider.cpp108 auto startResidency = start.power_entity_state_residency().residency(); in getImpl() local
111 if (0 != StateResidencyInterval(startResidency, intervalResidency)) { in getImpl()