PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Tests related to the performance counter. More...
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/posix.h>
#include <perf/perf_counter.h>
#include "tests_main.h"
Go to the source code of this file.
Functions | |
int | test_perf (int argc, char *argv[]) |
Tests related to the performance counter.
Definition in file test_perf.c.
int test_perf | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 47 of file test_perf.c.
References OK, PC_COUNT, PC_ELAPSED, perf_alloc, perf_begin(), perf_count(), perf_end(), perf_free(), perf_print_all(), and perf_print_counter().