FFmpeg
Data Fields

#include <test.h>

Data Fields

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

Detailed Description

Definition at line 527 of file test.h.

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

Definition at line 533 of file test.h.

Referenced by checkasm_measure_perf_scale(), checkasm_perf_init(), checkasm_perf_validate_start(), and checkasm_perf_validate_start_stop().

◆ 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

Definition at line 540 of file test.h.

Referenced by checkasm_measure_perf_scale(), checkasm_perf_init(), and checkasm_perf_validate_start_stop().

◆ name

const char* CheckasmPerf::name

Name of the timing mechanism (e.g., "clock_gettime")

Definition at line 543 of file test.h.

Referenced by checkasm_perf_init(), checkasm_perf_validate_start(), checkasm_perf_validate_start_stop(), and print_info().

◆ unit

const char* CheckasmPerf::unit

Unit of measurement (e.g., "ns", "cycles")

Definition at line 546 of file test.h.

Referenced by checkasm_measure_perf_scale(), checkasm_perf_init(), checkasm_run(), print_bench_header(), print_bench_iter(), and print_info().


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