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.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.3, 3.7.2, WT3.1.0
    • None
    • None
    • Storage 2018-01-29

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: