PX4 Firmware
PX4 Autopilot Software http://px4.io
MicroBenchMath Namespace Reference

Classes

class  MicroBenchMath
 

Functions

void lock ()
 
void unlock ()
 
template<typename T >
random (T min, T max)
 
 ut_declare_test_c (test_microbench_math, MicroBenchMath) bool MicroBenchMath
 

Function Documentation

◆ lock()

void MicroBenchMath::lock ( )

Definition at line 59 of file test_microbench_math.cpp.

◆ random()

template<typename T >
T MicroBenchMath::random ( min,
max 
)

Definition at line 145 of file test_microbench_math.cpp.

References math::min().

Referenced by MicroBenchMath::MicroBenchMath::reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unlock()

void MicroBenchMath::unlock ( )

Definition at line 66 of file test_microbench_math.cpp.

◆ ut_declare_test_c()

MicroBenchMath::ut_declare_test_c ( test_microbench_math  ,
MicroBenchMath   
)

Definition at line 178 of file test_microbench_math.cpp.

References PERF.