Home | History | Annotate | Download | only in src

Lines Matching refs:delta_ms

314   period_ms_t delta_ms = now_ms - wakelock_stats.last_acquired_timestamp_ms;
315 if (delta_ms < wakelock_stats.min_acquired_interval_ms ||
317 wakelock_stats.min_acquired_interval_ms = delta_ms;
319 if (delta_ms > wakelock_stats.max_acquired_interval_ms) {
320 wakelock_stats.max_acquired_interval_ms = delta_ms;
322 wakelock_stats.last_acquired_interval_ms = delta_ms;
323 wakelock_stats.total_acquired_interval_ms += delta_ms;
335 period_ms_t delta_ms = 0;
342 delta_ms = now_ms - wakelock_stats.last_acquired_timestamp_ms;
343 if (delta_ms > max_interval) max_interval = delta_ms;
344 if (delta_ms < min_interval) min_interval = delta_ms;
345 last_interval = delta_ms;
348 wakelock_stats.total_acquired_interval_ms + delta_ms;