PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Tests for the microbench high resolution timer. More...
#include <unit_test.h>
#include <time.h>
#include <stdlib.h>
#include <unistd.h>
#include <drivers/drv_hrt.h>
#include <perf/perf_counter.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/micro_hal.h>
Go to the source code of this file.
Classes | |
class | MicroBenchHRT::MicroBenchHRT |
Namespaces | |
MicroBenchHRT | |
Macros | |
#define | PERF(name, op, count) |
Functions | |
void | MicroBenchHRT::lock () |
void | MicroBenchHRT::unlock () |
template<typename T > | |
T | MicroBenchHRT::random (T min, T max) |
MicroBenchHRT::ut_declare_test_c (test_microbench_hrt, MicroBenchHRT) bool MicroBenchHRT | |
Tests for the microbench high resolution timer.
Definition in file test_microbench_hrt.cpp.
#define PERF | ( | name, | |
op, | |||
count | |||
) |
Definition at line 72 of file test_microbench_hrt.cpp.
Referenced by MicroBenchHRT::ut_declare_test_c().