mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
CPU load: add missing header
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
struct system_load_taskinfo_s {
|
struct system_load_taskinfo_s {
|
||||||
uint64_t total_runtime; ///< Runtime since start (start_time - total_runtime)/(start_time - current_time) = load
|
uint64_t total_runtime; ///< Runtime since start (start_time - total_runtime)/(start_time - current_time) = load
|
||||||
|
|||||||
Reference in New Issue
Block a user