Lines Matching defs:now_ns
32 int64_t now_ns;
43 qemu_put_be64(f, s->now_ns); /* in case the kernel is in the middle of a timer read */
46 int64_t now_ns = qemu_get_clock_ns(vm_clock);
48 qemu_put_be64(f, alarm_ns - now_ns);
59 s->now_ns = qemu_get_be64(f);
81 s->now_ns = qemu_get_clock_ns(vm_clock);
82 return s->now_ns;
84 return s->now_ns >> 32;
94 int64_t alarm_ns, now_ns;
99 now_ns = qemu_get_clock_ns(vm_clock);
100 if (alarm_ns <= now_ns) {