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

Switch statistics to rdtsc from epoch calls

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.1, WT3.1.0
    • Component/s: None
    • Labels:

      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

            Assignee:
            sue.loverso Susan LoVerso
            Reporter:
            sue.loverso Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: