Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45857

Add Timer class to ClockSource

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2020-02-10

    Description

      We have a common pattern where we we call ClockSource::now() multiple times to record a duration. However, our Timer class works with TickSources instead. I think we should add a similar class nested within ClockSource. This would serve a use case where we need to capture timing for log lines or errors instead of metrics.

      Attachments

        Activity

          People

            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: