-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
Add support for reading cycleclock time (x64: rdtsc, arm: cntvct_el0, etc.) and frequency for all supported platforms.
The currently included libraries like absl and google benchmark have functionality that allows reading cycleclock time and frequency, but the support for it is internal, and the api may change or be removed at any time.
We need an official/supported way to access cycleclock, and some options may be vendoring in appropriate 3rdparty library, building one in house for supported platforms, forking absl/google benchmark, etc.
The example use case for cycle clock access:
https://jira.mongodb.org/browse/SERVER-88374
which currently as a workaround uses internal access to absl cycleclock, which should be replaced when officially supported cycleclock access is available.
- related to
-
SERVER-88374 Integrate tagged tracing profiler with mongod
-
- Closed
-