Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/power/
Dandroid_power_data_source.cc111 size_t num_power_entities = consumers.size(); in GetEnergyConsumerInfo() local
112 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() local
127 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()