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

Switch statistics to rdtsc from epoch calls

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.3, 3.7.1, WT3.1.0
    • None

    Description

      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.

      Attachments

        Activity

          People

            sue.loverso@mongodb.com Susan LoVerso
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: