Crate performance_timing

Source

Structs§

CPUInfo
CPU information structure. Provides frequency and TSC-to-cycle scaling information.
CriterionCycleCounter
Custom cycle accurate measurement class for criterion
CycleInstant
FreqInfo
CPU frequency information structure
MeasureRegion
Measure code block performance by collecting samples. It relies on the fact that objects get destroyed at the end of the block.
MeasureSample
Measurement sample created by MeasureRegion Shall not be created directly.

Functions§

const_cycle_loop
Run function with known latency. Assume both sub & and ops are single cycle on all architectures. Might not behave as expected with another code running on the same phisical core.
cycle_accurate_config
measure_function_perf