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.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.2, WT3.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: