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

Record the clock frequency in the optrack log file, so we can convert CPU cycles to nanoseconds when decoding the files.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.2, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2018-01-29

      Currently the operation tracking code records the timestamps in units of CPU cycles, because that's the most efficient way to do things. However, showing the timeline to the user in units of CPU cycles is not the most convenient. We should take advantage of the nanoseconds-to-cycles conversion ratio computed within the WT library and record this ratio in the log file. This way, we can convert cycles to nanoseconds upon conversion and display the trace to the user using a more standard time metric.

            Assignee:
            sasha.fedorova@mongodb.com Sasha Fedorova
            Reporter:
            sasha.fedorova@mongodb.com Sasha Fedorova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: