Expand description
Microbenchmark utilities.
Structs§
- Default
Micro Bench Config - Default setting
- Micro
Bench Impl - Local state for microbenchmark.
- Micro
Bench State - Static state for microbenchmark.
- Path
Bench Branch - Local state for path bench.
- Path
Bench Scope - End-of-Scope handler for path bench
- Path
Bench State - Static state for path bench.
Constants§
- DEFAULT_
PRINT_ INTERVAL - Default print interval is 10 GHz TSC. It is about 3~4 sec for modern CPUs.
- DEFAULT_
TIMESTAMP_ FUNC - Default timestamp function to use. Current default is RDTSC.
Traits§
- Micro
Bench Config - Choose RDTSC variant to use.
Functions§
- touch_
path_ branch - Create a local path bench state