Diff for /qemu/qemu-timer.h between versions and

version, 2018/04/24 16:47:40 version, 2018/04/24 17:35:08
Line 17  extern QEMUClock *rt_clock; Line 17  extern QEMUClock *rt_clock;
    precision clock, usually cpu cycles (use ticks_per_sec). */     precision clock, usually cpu cycles (use ticks_per_sec). */
 extern QEMUClock *vm_clock;  extern QEMUClock *vm_clock;
   /* The host clock should be use for device models that emulate accurate
      real time sources. It will continue to run when the virtual machine
      is suspended, and it will reflect system time changes the host may
      undergo (e.g. due to NTP). The host clock has the same precision as
      the virtual clock. */
   extern QEMUClock *host_clock;
 int64_t qemu_get_clock(QEMUClock *clock);  int64_t qemu_get_clock(QEMUClock *clock);
 QEMUTimer *qemu_new_timer(QEMUClock *clock, QEMUTimerCB *cb, void *opaque);  QEMUTimer *qemu_new_timer(QEMUClock *clock, QEMUTimerCB *cb, void *opaque);
Line 24  void qemu_free_timer(QEMUTimer *ts); Line 31  void qemu_free_timer(QEMUTimer *ts);
 void qemu_del_timer(QEMUTimer *ts);  void qemu_del_timer(QEMUTimer *ts);
 void qemu_mod_timer(QEMUTimer *ts, int64_t expire_time);  void qemu_mod_timer(QEMUTimer *ts, int64_t expire_time);
 int qemu_timer_pending(QEMUTimer *ts);  int qemu_timer_pending(QEMUTimer *ts);
   int qemu_timer_expired(QEMUTimer *timer_head, int64_t current_time);
 extern int64_t ticks_per_sec;  static inline int64_t get_ticks_per_sec(void)
       return 1000000000LL;
 void qemu_get_timer(QEMUFile *f, QEMUTimer *ts);  void qemu_get_timer(QEMUFile *f, QEMUTimer *ts);
 void qemu_put_timer(QEMUFile *f, QEMUTimer *ts);  void qemu_put_timer(QEMUFile *f, QEMUTimer *ts);

Removed from v.  
changed lines
  Added in v.