Firmware
Classes | Macros | Typedefs | Functions
printload.h File Reference

Print the current system load. More...

#include <px4_config.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  print_load_s
 

Macros

#define CONFIG_MAX_TASKS   64
 

Typedefs

typedef void(* print_load_callback_f) (void *user)
 

Functions

__BEGIN_DECLS __EXPORT void init_print_load_s (uint64_t t, struct print_load_s *s)
 
__EXPORT void print_load (uint64_t t, int fd, struct print_load_s *print_state)
 
void print_load_buffer (uint64_t t, char *buffer, int buffer_length, print_load_callback_f cb, void *user, struct print_load_s *print_state)
 Print load to a buffer, and call cb after each written line (buffer will not include '
')
 

Detailed Description

Print the current system load.

Author
Lorenz Meier loren.nosp@m.z@px.nosp@m.4.io