Searched refs:intervalResidency (Results 1 – 2 of 2) sorted by relevance
22 StateResidency_Residency* intervalResidency) { in StateResidencyInterval() argument24 if (startResidency.size() != intervalResidency->size()) { 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()39 intervalResidency->Mutable(i)->set_time_ms(delta); in StateResidencyInterval()
109 auto intervalResidency = interval->mutable_power_entity_state_residency()->mutable_residency(); in getImpl() local111 if (0 != StateResidencyInterval(startResidency, intervalResidency)) { in getImpl()