Add convenience function to get num cpu cores in benchmarks

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.5, 3.7.4
    • Affects Version/s: 3.7.2
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • v3.6
    • TIG 2018-03-12, TIG 2018-03-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Write a thin wrapper function around ProcessInfo::getNumAvailableCores() (and ProcessInfo::getNumCores() if needed) that can be invoked as part of the benchmark registration process, before any MONGO_INITIALIZER has run.

              Assignee:
              Robert Guo (Inactive)
              Reporter:
              Robert Guo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: