Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/power/
Dandroid_power_data_source.cc80 std::vector<android_internal::RailDescriptor> rail_descriptors( in GetRailDescriptors() local
82 size_t num_rails = rail_descriptors.size(); in GetRailDescriptors()
83 if (!get_available_rails_(&rail_descriptors[0], &num_rails)) { in GetRailDescriptors()
87 rail_descriptors.resize(num_rails); in GetRailDescriptors()
88 return rail_descriptors; in GetRailDescriptors()
261 auto rail_descriptors = lib_->GetRailDescriptors(); in WritePowerRailsData() local
262 if (rail_descriptors.empty()) { in WritePowerRailsData()
268 for (const auto& rail_descriptor : rail_descriptors) { in WritePowerRailsData()
/external/perfetto/src/android_internal/
Dpower_stats.cc145 RailDescriptor* rail_descriptors, in GetAvailableRails() argument
155 auto rails_cb = [rail_descriptors, size_of_arr, &in_array_size, &status]( in GetAvailableRails()
162 RailDescriptor& descriptor = rail_descriptors[i]; in GetAvailableRails()