Lines Matching defs:cycles
76 /* Suspend-time cycles value for halted fast timekeeper. */
337 /* Go back from cycles -> shifted ns */
392 static inline u64 timekeeping_cycles_to_ns(const struct tk_read_base *tkr, u64 cycles)
397 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask);
436 u64 delta, cycles = tk_clock_read(tkr);
438 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask);
648 * number of cycles every time until timekeeping is resumed at which time the
1080 systime_snapshot->cycles = now;
1107 * @total_history_cycles: Total history length in cycles
1217 u64 cycles, now, interval_start;
1243 cycles = system_counterval.cycles;
1251 if (!timestamp_in_interval(interval_start, now, cycles)) {
1254 cycles = interval_start;
1264 nsec_real = timekeeping_cycles_to_ns(&tk->tkr_mono, cycles);
1265 nsec_raw = timekeeping_cycles_to_ns(&tk->tkr_raw, cycles);
1285 !timestamp_in_interval(history_begin->cycles,
1286 cycles, system_counterval.cycles) ||
1289 partial_history_cycles = cycles - system_counterval.cycles;
1290 total_history_cycles = cycles - history_begin->cycles;
1959 * So offset stores the non-accumulated cycles. Thus the current
2104 * logarithmic_accumulation - shifted accumulation of cycles
2106 * This functions accumulates a shifted interval of cycles into
2110 * Returns the unconsumed cycles.