diff options
Diffstat (limited to 'src/mongo/util/perfctr_collect.h')
-rw-r--r-- | src/mongo/util/perfctr_collect.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/util/perfctr_collect.h b/src/mongo/util/perfctr_collect.h index 3d1b45b0f81..15968503ce5 100644 --- a/src/mongo/util/perfctr_collect.h +++ b/src/mongo/util/perfctr_collect.h @@ -270,6 +270,12 @@ private: */ void checkForTicksTimeBase(); + /** + * Add and get a counter by an English name in a language independent way. + */ + StatusWith<std::tuple<PDH_HCOUNTER, std::unique_ptr<PDH_COUNTER_INFO>>> addAndGetCounter( + StringData path); + private: // PDH Query HQUERY _query{INVALID_HANDLE_VALUE}; |