checkasm 1.3.0
Assembly testing and benchmarking framework
Loading...
Searching...
No Matches
CheckasmTest Struct Reference

Describes a single test function. More...

#include <checkasm.h>

Data Fields

const char * name
void(* func )(void)
void(* init )(void)
 Optional initialization function.
void(* uninit )(void)

Detailed Description

Describes a single test function.

Represents one test function that will be invoked by the test suite. Each test function typically tests a specific component or subsystem.

Field Documentation

◆ func

void(* CheckasmTest::func) (void)

Test function to invoke

◆ init

void(* CheckasmTest::init) (void)

Optional initialization function.

These functions, if set, are invoked before testing any CPU flags and after testing all CPU flags, respectively.

Note
If CheckasmConfig.repeat > 1, they will be called for every iteration.
Warning
These are called even when running checkasm_list_functions().

◆ name

const char* CheckasmTest::name

Name of the test (used for filtering and reporting)


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