Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3790

Switch statistics to rdtsc from epoch calls

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

      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:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: