|
| 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").
|
◆ 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_time | Timestamp from start() |
- Returns
- Elapsed time in the specified unit
The documentation for this struct was generated from the following file: