Home
last modified time | relevance | path

Searched refs:overflow_at (Results 1 – 2 of 2) 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
568 overflow_at = curr_ns + overflow_ns; in riscv_pmu_setup_timer()
569 if (overflow_at <= curr_ns) in riscv_pmu_setup_timer()
570 overflow_at = UINT64_MAX; in riscv_pmu_setup_timer()
572 if (overflow_at > INT64_MAX) { in riscv_pmu_setup_timer()
573 overflow_left += overflow_at - INT64_MAX; in riscv_pmu_setup_timer()
575 overflow_at = INT64_MAX; in riscv_pmu_setup_timer()
577 timer_mod_anticipate_ns(cpu->pmu_timer, overflow_at); in riscv_pmu_setup_timer()
/openbmc/qemu/target/arm/
H A Dhelper.c1370 int64_t overflow_at; in pmccntr_op_finish() local
1373 overflow_in, &overflow_at)) { in pmccntr_op_finish()
1375 timer_mod_anticipate_ns(cpu->pmu_timer, overflow_at); in pmccntr_op_finish()
1427 int64_t overflow_at; in pmevcntr_op_finish() local
1430 overflow_in, &overflow_at)) { in pmevcntr_op_finish()
1432 timer_mod_anticipate_ns(cpu->pmu_timer, overflow_at); in pmevcntr_op_finish()