Convenience function for printing system statistics
#include "lib/print-stats.h"
#include "net/rime/rime.h"
#include "sys/energest.h"
#include <stdio.h>
Macros | |
#define | PRINTA(...) printf(__VA_ARGS__) |
Functions | |
void | print_stats (void) |
#define PRINTA | ( | ... | ) | printf(__VA_ARGS__) |
Referenced by print_stats(), uip_debug_ipaddr_print(), and uip_debug_lladdr_print().
void print_stats | ( | void | ) |
References rimestats::ackrx, rimestats::acktx, rimestats::badackrx, rimestats::badcrc, rimestats::badsynch, clock_seconds(), rimestats::contentiondrop, current, ENERGEST_TYPE_CPU, ENERGEST_TYPE_IRQ, ENERGEST_TYPE_LED_GREEN, ENERGEST_TYPE_LED_RED, ENERGEST_TYPE_LED_YELLOW, ENERGEST_TYPE_LISTEN, ENERGEST_TYPE_LPM, ENERGEST_TYPE_SENSORS, ENERGEST_TYPE_SERIAL, ENERGEST_TYPE_TRANSMIT, linkaddr_node_addr, rimestats::llrx, rimestats::lltx, rimestats::noacktx, PRINTA, rimestats::reliablerx, rimestats::reliabletx, rimestats::rexmit, rimestats::rx, rimestats::sendingdrop, rimestats::timedout, rimestats::toolong, rimestats::tooshort, rimestats::tx, and linkaddr_t::u8.