Skip to content
Snippets Groups Projects
  1. Jan 18, 2021
  2. Feb 12, 2020
    • Peter Maydell's avatar
      Remove support for CLOCK_MONOTONIC not being defined · a284f798
      Peter Maydell authored
      
      Some older parts of QEMU's codebase assume that CLOCK_MONOTONIC
      might not be defined by the host OS, and have workarounds to
      deal with this. However, more recently (notably in commit
      50290c00 for qemu-img in mid-2019, but also much
      earlier in 2011 in commit 22795174 for ui/spice-display.c)
      we've written code that assumes CLOCK_MONOTONIC is always
      defined. The only host OS anybody's ever noticed this on
      is OSX 10.11 and earlier, which we don't support.
      
      So we can assume that all our host OSes have the #define,
      and we can remove some now-unnecessary ifdefs.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-Id: <20200201172252.6605-1-peter.maydell@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      a284f798
  3. Feb 04, 2016
  4. Apr 05, 2013
  5. Jan 12, 2013
  6. Dec 19, 2012
  7. Dec 21, 2010
  8. Oct 23, 2010
    • Blue Swirl's avatar
      qemu-timer: move commonly used timer code to qemu-timer-common · c57c846a
      Blue Swirl authored
      
      Move timer init functions to a new file, qemu-timer-common.c. Make other
      critical timer functions inlined to preserve performance in
      qemu-timer.c, also move muldiv64() (used by the inline functions)
      to qemu-timer.h.
      
      Adjust block/raw-posix.c and simpletrace.c to use get_clock() directly.
      Remove a similar/duplicate definition in qemu-tool.c.
      
      Adjust hw/omap_clk.c to include qemu-timer.h because muldiv64() is used
      there.
      
      After this change, tracing can be used also for user code and
      simpletrace on Win32.
      
      Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Acked-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      c57c846a
  9. Dec 03, 2009
  10. Oct 30, 2009
  11. Mar 03, 2009
  12. Apr 08, 2008
  13. Feb 01, 2008
  14. Oct 07, 2007
  15. Sep 16, 2007
  16. Apr 07, 2007
  17. Feb 02, 2007
  18. Oct 30, 2005
  19. Nov 07, 2004
Loading