iCub-main
Functions | Variables
debugFunctions.cpp File Reference
#include "debugFunctions.h"
+ Include dependency graph for debugFunctions.cpp:

Go to the source code of this file.

Functions

bool check_received_pkt (ACE_INET_Addr *sender_addr, void *pkt, ACE_UINT16 pkt_size)
 
bool check_received_pkt (sockaddr *sender_addr, void *pkt, ACE_UINT16 pkt_size)
 
bool do_real_check (int board, void *pkt, ACE_UINT16 pkt_size)
 
void print_data (void)
 

Variables

uint32_t missErr [BOARD_NUM] = {0}
 
uint32_t lateErr [BOARD_NUM] = {0}
 
uint32_t sizeErr [BOARD_NUM] = {0}
 
static uint32_t idx [BOARD_NUM] = {0}
 
struct timeval recvTime [BOARD_NUM]
 
struct timeval prevTime [BOARD_NUM]
 
struct timeval diffTime [BOARD_NUM]
 
FILE * outFile = stdout
 
size_t maxBytes2Read = 1500
 
uint8_t board
 
uint32_t prevNum [BOARD_NUM] = {0}
 
uint32_t progNum [BOARD_NUM] = {0}
 
ACE_UINT64 txtime
 
ACE_UINT16 size_ini [BOARD_NUM] = {0}
 
bool error = false
 
int n = 0
 

Function Documentation

◆ check_received_pkt() [1/2]

bool check_received_pkt ( ACE_INET_Addr *  sender_addr,
void *  pkt,
ACE_UINT16  pkt_size 
)

Definition at line 60 of file debugFunctions.cpp.

◆ check_received_pkt() [2/2]

bool check_received_pkt ( sockaddr *  sender_addr,
void *  pkt,
ACE_UINT16  pkt_size 
)

Definition at line 100 of file debugFunctions.cpp.

◆ do_real_check()

bool do_real_check ( int  board,
void *  pkt,
ACE_UINT16  pkt_size 
)

Definition at line 133 of file debugFunctions.cpp.

◆ print_data()

void print_data ( void  )

Definition at line 214 of file debugFunctions.cpp.

Variable Documentation

◆ board

uint8_t board

Definition at line 48 of file debugFunctions.cpp.

◆ diffTime

struct timeval diffTime[BOARD_NUM]

Definition at line 34 of file debugFunctions.cpp.

◆ error

bool error = false

Definition at line 57 of file debugFunctions.cpp.

◆ idx

uint32_t idx[BOARD_NUM] = {0}
static

Definition at line 34 of file debugFunctions.cpp.

◆ lateErr

uint32_t lateErr[BOARD_NUM] = {0}

Definition at line 31 of file debugFunctions.cpp.

◆ maxBytes2Read

size_t maxBytes2Read = 1500

Definition at line 42 of file debugFunctions.cpp.

◆ missErr

uint32_t missErr[BOARD_NUM] = {0}

Definition at line 30 of file debugFunctions.cpp.

◆ n

int n = 0

Definition at line 58 of file debugFunctions.cpp.

◆ outFile

FILE* outFile = stdout

Definition at line 40 of file debugFunctions.cpp.

◆ prevNum

uint32_t prevNum[BOARD_NUM] = {0}

Definition at line 49 of file debugFunctions.cpp.

◆ prevTime

struct timeval prevTime[BOARD_NUM]

Definition at line 34 of file debugFunctions.cpp.

◆ progNum

uint32_t progNum[BOARD_NUM] = {0}

Definition at line 50 of file debugFunctions.cpp.

◆ recvTime

struct timeval recvTime[BOARD_NUM]

Definition at line 34 of file debugFunctions.cpp.

◆ size_ini

ACE_UINT16 size_ini[BOARD_NUM] = {0}

Definition at line 54 of file debugFunctions.cpp.

◆ sizeErr

uint32_t sizeErr[BOARD_NUM] = {0}

Definition at line 32 of file debugFunctions.cpp.

◆ txtime

ACE_UINT64 txtime

Definition at line 53 of file debugFunctions.cpp.