Switch statistics to rdtsc from epoch calls

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.3, 3.7.1, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • Storage 2017-12-18
    • None

      In WT-3133 a new function wt_rdtsc was added to get a clock representation that was very fast. However in considering using it to replace more expensive calls to wt_epoch for timing calculations reveals that this is not a simple process. We should add a function and backend support code to convert rdtsc of clock cycles into nanoseconds. We should also compare and consider whether rdtscp is a better instruction.

            Assignee:
            Susan LoVerso (Inactive)
            Reporter:
            Susan LoVerso (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: