1. 14 Jul, 2015 2 commits
  2. 13 Jul, 2015 2 commits
  3. 11 Jul, 2015 1 commit
  4. 08 Jul, 2015 1 commit
    • Henrik Gramner's avatar
      x86: Serialize rdtsc in read_time() · d1a6cb19
      Henrik Gramner authored
      Improves the accuracy of measurements, especially in short sections.
      
      To quote the Intel 64 and IA-32 Architectures Software Developer's Manual:
      "The RDTSC instruction is not a serializing instruction. It does not necessarily
      wait until all previous instructions have been executed before reading the counter.
      Similarly, subsequent instructions may begin execution before the read operation
      is performed. If software requires RDTSC to be executed only after all previous
      instructions have completed locally, it can either use RDTSCP (if the processor
      supports that instruction) or execute the sequence LFENCE;RDTSC."
      
      SSE2 is a requirement for lfence so only use it on SSE2-capable systems.
      Prefer lfence;rdtsc over rdtscp since rdtscp is supported on fewer systems.
      Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
      d1a6cb19
  5. 07 Jul, 2015 2 commits
  6. 06 Jul, 2015 2 commits
  7. 03 Jul, 2015 1 commit
  8. 02 Jul, 2015 1 commit
  9. 01 Jul, 2015 3 commits
  10. 29 Jun, 2015 1 commit
  11. 27 Jun, 2015 2 commits
  12. 26 Jun, 2015 1 commit
  13. 20 Jun, 2015 1 commit
  14. 19 Jun, 2015 6 commits
  15. 18 Jun, 2015 1 commit
  16. 16 Jun, 2015 1 commit
  17. 14 Jun, 2015 2 commits
  18. 13 Jun, 2015 1 commit
  19. 12 Jun, 2015 1 commit
  20. 11 Jun, 2015 5 commits
  21. 10 Jun, 2015 2 commits
  22. 09 Jun, 2015 1 commit