Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dpmu.c534 uint64_t overflow_delta, overflow_at, curr_ns; in riscv_pmu_setup_timer() local
567 curr_ns = (uint64_t)qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in riscv_pmu_setup_timer()
568 overflow_at = curr_ns + overflow_ns; in riscv_pmu_setup_timer()
569 if (overflow_at <= curr_ns) in riscv_pmu_setup_timer()