Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 4 of 4) sorted by relevance

/devicemodel/hw/platform/
A Dhpet.c200 struct timespec now, delta; in vhpet_counter() local
214 delta = now; in vhpet_counter()
215 timespecsub(&delta, &vhpet->countbase_ts); in vhpet_counter()
216 val += vhpet_ts_to_ticks(&delta); in vhpet_counter()
410 struct timespec delta; in vhpet_adjust_compval() local
420 delta = *now; in vhpet_adjust_compval()
421 timespecsub(&delta, &vhpet->timer[n].expts); in vhpet_adjust_compval()
422 delta_ticks = vhpet_ts_to_ticks(&delta); in vhpet_adjust_compval()
499 uint32_t delta; in vhpet_start_timer() local
512 delta = vhpet->timer[n].compval - counter; in vhpet_start_timer()
[all …]
A Drtc.c239 time_t now, delta; in vrtc_curtime() local
246 delta = now - vrtc->base_uptime; in vrtc_curtime()
247 secs = delta; in vrtc_curtime()
/devicemodel/core/
A Dmonitor.c90 uint64_t delta = 0UL; in intr_storm_monitor_thread() local
140 delta = hdr->buffer[i + 1] - intr_cnt_buf[i + 1]; in intr_storm_monitor_thread()
141 if (delta > intr_monitor_setting.threshold) { in intr_storm_monitor_thread()
151 pr_notice("irq=%ld, delta=%ld\n", intr_cnt_buf[i], delta); in intr_storm_monitor_thread()
A Dvm_event.c285 struct timespec now, delta; in rtc_chg_timer_cb() local
293 delta = now; in rtc_chg_timer_cb()
294 timespecsub(&delta, &time_window_start); in rtc_chg_timer_cb()
296 if (timespeccmp(&delta, &time_window_size, >=)) { in rtc_chg_timer_cb()

Completed in 11 milliseconds