Searched refs:num_power_entities (Results 1 – 1 of 1) sorted by relevance
111 size_t num_power_entities = consumers.size(); in GetEnergyConsumerInfo() local112 if (!get_energy_consumer_info_(&consumers[0], &num_power_entities)) { in GetEnergyConsumerInfo()114 num_power_entities = 0; in GetEnergyConsumerInfo()116 consumers.resize(num_power_entities); in GetEnergyConsumerInfo()126 size_t num_power_entities = energy_breakdown.size(); in GetEnergyConsumed() local127 if (!get_energy_consumed_(&energy_breakdown[0], &num_power_entities)) { in GetEnergyConsumed()129 num_power_entities = 0; in GetEnergyConsumed()131 energy_breakdown.resize(num_power_entities); in GetEnergyConsumed()