checkasm 1.0.1
Assembly testing and benchmarking framework
Loading...
Searching...
No Matches

Data Fields

uint64_t(* start )(void)
 Start timing measurement.
uint64_t(* stop )(uint64_t start_time)
 Stop timing measurement.
const char * name
 Name of the timing mechanism (e.g., "clock_gettime").
const char * unit
 Unit of measurement (e.g., "ns", "cycles").

Field Documentation

◆ start

uint64_t(* CheckasmPerf::start) (void)

Start timing measurement.

Returns
Timestamp value to pass to stop()
Note
Only used when ASM timers are not available

◆ stop

uint64_t(* CheckasmPerf::stop) (uint64_t start_time)

Stop timing measurement.

Parameters
[in]start_timeTimestamp from start()
Returns
Elapsed time in the specified unit

The documentation for this struct was generated from the following file: