Lines Matching full:now
31 int64_t now;
42 qemu_put_be64(f, s->now); /* in case the kernel is in the middle of a timer read */
45 int64_t now = qemu_get_clock(vm_clock);
47 qemu_put_be64(f, alarm-now);
58 s->now = qemu_get_be64(f);
61 int64_t now = qemu_get_clock(vm_clock);
63 int64_t alarm = now + diff;
65 if (alarm <= now) {
80 s->now = muldiv64(qemu_get_clock(vm_clock), 1000000000, get_ticks_per_sec());
81 return s->now;
83 return s->now >> 32;
93 int64_t alarm, now;
98 now = qemu_get_clock(vm_clock);
99 if (alarm <= now) {
134 int64_t now;
138 * (i.e. it has read the low 32-bit of s->now, but not the high 32-bits yet */
145 qemu_put_be64(f, s->now);
156 s->now = qemu_get_be64(f);
165 s->now = (int64_t)time(NULL) * 1000000000;
166 return s->now;
168 return s->now >> 32;