Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/power/
Dandroid_power_data_source.cc149 poll_interval_ms_ = pcfg.battery_poll_ms(); in AndroidPowerDataSource()
154 if (poll_interval_ms_ == 0) in AndroidPowerDataSource()
155 poll_interval_ms_ = kDefaultPollIntervalMs; in AndroidPowerDataSource()
157 if (poll_interval_ms_ < kMinPollIntervalMs) { in AndroidPowerDataSource()
160 poll_interval_ms_, kMinPollIntervalMs); in AndroidPowerDataSource()
161 poll_interval_ms_ = kMinPollIntervalMs; in AndroidPowerDataSource()
202 poll_interval_ms_ - static_cast<uint32_t>(now_ms % poll_interval_ms_)); in Tick()
Dandroid_power_data_source.h61 uint32_t poll_interval_ms_ = 0; variable