/qemu/hw/misc/ |
H A D | mps2-fpgaio.c | 42 static uint32_t counter_from_tickoff(int64_t now, int64_t tick_offset, int frq) in counter_from_tickoff() 47 static int64_t tickoff_from_counter(int64_t now, uint32_t count, int frq) in tickoff_from_counter() 59 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in resync_counter() local 127 int64_t now; in mps2_fpgaio_read() local 190 int64_t now; in mps2_fpgaio_write() local 259 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mps2_fpgaio_reset() local
|
H A D | mos6522.c | 301 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mos6522_read() local 506 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in qmp_x_query_via_foreach() local
|
/qemu/target/loongarch/tcg/ |
H A D | constant_timer.c | 25 uint64_t now, expire; in cpu_loongarch_get_constant_timer_ticks() local 37 uint64_t now, next; in cpu_loongarch_store_constant_timer_config() local 53 uint64_t now, next; in loongarch_constant_timer_cb() local
|
/qemu/hw/timer/ |
H A D | mips_gictimer.c | 21 uint32_t vp_index, uint64_t now) in gic_vptimer_update() 34 uint64_t now) in gic_vptimer_expire() 58 uint64_t now; in mips_gictimer_get_sh_count() local 74 uint64_t now; in mips_gictimer_store_sh_count() local
|
H A D | nrf51_timer.c | 43 static uint32_t update_counter(NRF51TimerState *s, int64_t now) in update_counter() 58 static void rearm_timer(NRF51TimerState *s, int64_t now) in rearm_timer() 101 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in timer_expire() local 203 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in nrf51_timer_write() local
|
H A D | sse-counter.c | 140 uint64_t sse_counter_for_timestamp(SSECounter *s, uint64_t now) in sse_counter_for_timestamp() 180 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sse_write_cntcv() local 271 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sse_counter_control_write() local 391 uint64_t now; in sse_clk_callback() local
|
H A D | stm32f2xx_timer.c | 74 static void stm32f2xx_timer_set_alarm(STM32F2XXTimerState *s, int64_t now) in stm32f2xx_timer_set_alarm() 100 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in stm32f2xx_timer_reset() local 184 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in stm32f2xx_timer_write() local
|
H A D | sifive_pwm.c | 149 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_interrupt() local 226 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_read() local 278 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_write() local 377 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sifive_pwm_reset() local
|
H A D | ibex_timer.c | 66 uint64_t now = cpu_riscv_read_rtc(s->timebase_freq); in ibex_timer_update_irqs() local 139 uint64_t now = cpu_riscv_read_rtc(s->timebase_freq); in ibex_timer_read() local
|
H A D | npcm7xx_timer.c | 83 int64_t now; in npcm7xx_timer_start() local 93 int64_t now; in npcm7xx_timer_pause() local 251 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in npcm7xx_timer_read_tdr() local
|
H A D | bcm2835_systmr.c | 77 uint64_t now; in bcm2835_systmr_write() local
|
/qemu/util/ |
H A D | timed-average.c | 59 static void update_expiration(TimedAverageWindow *w, int64_t now, in update_expiration() 102 int64_t now = qemu_clock_get_ns(clock_type); in timed_average_init() local 130 int64_t now = qemu_clock_get_ns(ta->clock_type); in check_expirations() local
|
H A D | throttle.c | 59 static void throttle_do_leak(ThrottleState *ts, int64_t now) in throttle_do_leak() 177 int64_t now, in throttle_compute_timer() 436 int64_t now = qemu_clock_get_ns(tt->clock_type); in throttle_schedule_timer() local
|
/qemu/hw/rtc/ |
H A D | xlnx-zynqmp-rtc.c | 59 int64_t now = qemu_clock_get_ns(rtc_clock); in rtc_get_count() local 219 int64_t now = qemu_clock_get_ns(rtc_clock) / NANOSECONDS_PER_SECOND; in rtc_pre_save() local 230 int64_t now = qemu_clock_get_ns(rtc_clock) / NANOSECONDS_PER_SECOND; in rtc_post_load() local
|
H A D | ds1338.c | 65 struct tm now; in capture_current_time() local 149 struct tm now; in ds1338_send() local
|
H A D | rs5c372.c | 48 struct tm now; in capture_current_time() local 129 struct tm now; in rs5c372_send() local
|
H A D | pl031.c | 62 int64_t now = qemu_clock_get_ns(rtc_clock); in pl031_get_count() local 78 int64_t now = qemu_clock_get_ns(rtc_clock); in pl031_set_alarm() local
|
H A D | m41t80.c | 49 struct tm now; in m41t80_recv() local
|
/qemu/hw/openrisc/ |
H A D | cputimer.c | 53 uint64_t now; in cpu_openrisc_count_update() local 67 uint64_t now, next; in cpu_openrisc_timer_update() local
|
/qemu/hw/ppc/ |
H A D | ppc.c | 724 static inline int64_t __cpu_ppc_load_decr(CPUPPCState *env, int64_t now, in __cpu_ppc_load_decr() 745 static target_ulong _cpu_ppc_load_decr(CPUPPCState *env, int64_t now) in _cpu_ppc_load_decr() 773 static target_ulong _cpu_ppc_load_hdecr(CPUPPCState *env, int64_t now) in _cpu_ppc_load_hdecr() 841 static void __cpu_ppc_store_decr(PowerPCCPU *cpu, int64_t now, uint64_t *nextp, in __cpu_ppc_store_decr() 896 static inline void _cpu_ppc_store_decr(PowerPCCPU *cpu, int64_t now, in _cpu_ppc_store_decr() 911 int64_t now; in cpu_ppc_store_decr() local 936 static inline void _cpu_ppc_store_hdecr(PowerPCCPU *cpu, int64_t now, in _cpu_ppc_store_hdecr() 955 int64_t now; in cpu_ppc_store_hdecr() local 970 static void _cpu_ppc_store_purr(CPUPPCState *env, int64_t now, uint64_t value) in _cpu_ppc_store_purr() 1195 uint64_t now, next; in cpu_4xx_fit_cb() local [all …]
|
/qemu/tests/qtest/ |
H A D | rs5c372-test.c | 22 time_t now = time(NULL); in rs5c372_read_date() local
|
H A D | ds1338-test.c | 36 time_t now = time(NULL); in send_and_receive() local
|
/qemu/include/qemu/ |
H A D | ratelimit.h | 42 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_REALTIME); in ratelimit_calculate_delay() local
|
/qemu/tests/migration-stress/guestperf/ |
H A D | progress.py | 79 now, argument
|
/qemu/target/xtensa/ |
H A D | op_helper.c | 42 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in HELPER() local
|