PX4 Firmware
PX4 Autopilot Software http://px4.io
uORBKraitFastRpcChannel.cpp File Reference
#include "uORBKraitFastRpcChannel.hpp"
#include <px4_platform_common/log.h>
#include <px4_platform_common/tasks.h>
#include <drivers/drv_hrt.h>
#include <cstdio>
#include <pthread.h>
#include <string.h>
Include dependency graph for uORBKraitFastRpcChannel.cpp:

Go to the source code of this file.

Macros

#define LOG_TAG   "uORBKraitFastRpcChannel.cpp"
 

Functions

static void DumpData (uint8_t *buffer, int32_t length, int32_t num_topics)
 

Variables

static std::string _log_file_name = "./hex_dump.txt"
 
static unsigned long _snd_msg_min = 0xFFFFFF
 
static unsigned long _snd_msg_max = 0
 
static double _snd_msg_avg = 0.0
 
static unsigned long _snd_msg_count = 0
 
static unsigned long _overall_snd_min = 0xFFFFFF
 
static unsigned long _overall_snd_max = 0
 
static double _overall_snd_avg = 0.0
 
static unsigned long _overall_snd_count = 0
 
static hrt_abstime _log_check_time = 0
 
static hrt_abstime _log_check_interval = 10000000
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "uORBKraitFastRpcChannel.cpp"

Definition at line 42 of file uORBKraitFastRpcChannel.cpp.

Function Documentation

◆ DumpData()

void DumpData ( uint8_t *  buffer,
int32_t  length,
int32_t  num_topics 
)
static

Definition at line 339 of file uORBKraitFastRpcChannel.cpp.

References _log_file_name.

Referenced by uORB::KraitFastRpcChannel::fastrpc_recv_thread().

Here is the caller graph for this function:

Variable Documentation

◆ _log_check_interval

hrt_abstime _log_check_interval = 10000000
static

Definition at line 60 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _log_check_time

hrt_abstime _log_check_time = 0
static

Definition at line 59 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _log_file_name

std::string _log_file_name = "./hex_dump.txt"
static

Definition at line 49 of file uORBKraitFastRpcChannel.cpp.

Referenced by DumpData().

◆ _overall_snd_avg

double _overall_snd_avg = 0.0
static

Definition at line 57 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _overall_snd_count

unsigned long _overall_snd_count = 0
static

Definition at line 58 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _overall_snd_max

unsigned long _overall_snd_max = 0
static

Definition at line 56 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _overall_snd_min

unsigned long _overall_snd_min = 0xFFFFFF
static

Definition at line 55 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _snd_msg_avg

double _snd_msg_avg = 0.0
static

Definition at line 53 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _snd_msg_count

unsigned long _snd_msg_count = 0
static

Definition at line 54 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _snd_msg_max

unsigned long _snd_msg_max = 0
static

Definition at line 52 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().

◆ _snd_msg_min

unsigned long _snd_msg_min = 0xFFFFFF
static

Definition at line 51 of file uORBKraitFastRpcChannel.cpp.

Referenced by uORB::KraitFastRpcChannel::send_message().