PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Tool similar to UNIX top command. More...
#include <px4_platform_common/px4_config.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <poll.h>
#include <systemlib/cpuload.h>
#include <systemlib/printload.h>
#include <drivers/drv_hrt.h>
#include <px4_platform_common/module.h>
Go to the source code of this file.
Functions | |
__EXPORT int | top_main (int argc, char *argv[]) |
Start the top application. More... | |
static void | print_usage (void) |
Tool similar to UNIX top command.
Definition in file top.c.
|
static |
Definition at line 61 of file top.c.
Referenced by top_main().
int top_main | ( | int | argc, |
char * | argv[] | ||
) |
Start the top application.
Definition at line 70 of file top.c.
References hrt_absolute_time(), hrt_abstime, init_print_load_s(), print_load(), print_usage(), and read().