Home
last modified time | relevance | path

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

/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs363 let mut ns = self.get_state().get_ns(tick); in arm_timer()
590 ns_to_ticks(CLOCK_VIRTUAL.get_ns() + self.hpet_offset.get()) in is_timer_int_active()
593 fn get_ns(&self, tick: u64) -> u64 {
632 .set(ticks_to_ns(self.counter.get()) - CLOCK_VIRTUAL.get_ns()); in set_cfg_reg()
859 t.last = CLOCK_VIRTUAL.get_ns() - NANOSECONDS_PER_SECOND;
865 .set(ticks_to_ns(self.counter.get()) - CLOCK_VIRTUAL.get_ns()); in post_load()
598 fn get_ns(&self, tick: u64) -> u64 { get_ns() method
/qemu/rust/qemu-api/src/
H A Dtimer.rs114 pub fn get_ns(&self) -> u64 { in get_ns() method