Skip to content
Snippets Groups Projects
  • Tofu Linden's avatar
    7462911b
    Change Linux fasttimer implementation back to RDTSC - using a reliable syscall... · 7462911b
    Tofu Linden authored
    Change Linux fasttimer implementation back to RDTSC - using a reliable syscall was REALLY chewing CPU time.  Sigh.  I didn't realize how incredibly often this gets called.  So, back to the assembly.
    But be more careful with CPU clock count on linux, so the fasttimer values are much more accurate than they were the last time we were with RDTSC, in absolute terms - back in the right order of magnitude anyway.
    
    Also change many instances of Mhz to MHz.
    Also some minor comment fixes.
    7462911b
    History
    Change Linux fasttimer implementation back to RDTSC - using a reliable syscall...
    Tofu Linden authored
    Change Linux fasttimer implementation back to RDTSC - using a reliable syscall was REALLY chewing CPU time.  Sigh.  I didn't realize how incredibly often this gets called.  So, back to the assembly.
    But be more careful with CPU clock count on linux, so the fasttimer values are much more accurate than they were the last time we were with RDTSC, in absolute terms - back in the right order of magnitude anyway.
    
    Also change many instances of Mhz to MHz.
    Also some minor comment fixes.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.