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

Classes

class  MicroBenchHRT
 

Functions

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

Function Documentation

◆ lock()

◆ random()

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

Definition at line 125 of file test_microbench_hrt.cpp.

References math::min().

Here is the call graph for this function:

◆ unlock()

void MicroBenchHRT::unlock ( )

Definition at line 65 of file test_microbench_hrt.cpp.

Referenced by MK::pwm_ioctl(), and UavcanNode::run().

Here is the caller graph for this function:

◆ ut_declare_test_c()

MicroBenchHRT::ut_declare_test_c ( test_microbench_hrt  ,
MicroBenchHRT   
)

Definition at line 140 of file test_microbench_hrt.cpp.

References hrt_absolute_time(), hrt_elapsed_time_atomic(), and PERF.

Here is the call graph for this function: