Lines Matching refs:delta_ms
328 period_ms_t delta_ms = now_ms - wakelock_stats.last_acquired_timestamp_ms; in update_wakelock_released_stats() local
329 if (delta_ms < wakelock_stats.min_acquired_interval_ms || in update_wakelock_released_stats()
331 wakelock_stats.min_acquired_interval_ms = delta_ms; in update_wakelock_released_stats()
333 if (delta_ms > wakelock_stats.max_acquired_interval_ms) { in update_wakelock_released_stats()
334 wakelock_stats.max_acquired_interval_ms = delta_ms; in update_wakelock_released_stats()
336 wakelock_stats.last_acquired_interval_ms = delta_ms; in update_wakelock_released_stats()
337 wakelock_stats.total_acquired_interval_ms += delta_ms; in update_wakelock_released_stats()
352 period_ms_t delta_ms = 0; in wakelock_debug_dump() local
359 delta_ms = now_ms - wakelock_stats.last_acquired_timestamp_ms; in wakelock_debug_dump()
360 if (delta_ms > max_interval) in wakelock_debug_dump()
361 max_interval = delta_ms; in wakelock_debug_dump()
362 if (delta_ms < min_interval) in wakelock_debug_dump()
363 min_interval = delta_ms; in wakelock_debug_dump()
364 last_interval = delta_ms; in wakelock_debug_dump()
367 wakelock_stats.total_acquired_interval_ms + delta_ms; in wakelock_debug_dump()