void printStatistics()
{
- rpp_sci_printf((const char *) "BDs:\t\tTX\tRX\n");
- rpp_sci_printf((const char *) "NO of filled PKTs:\t%d\t%d",filledTXPKTs,filledRXPKTs);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "NO of sent PKTs:\t%d\t%d",handledTXPKTs,handledRXPKTs);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "NO of filled BDs:\t%d\t%d",filledTXbds,filledRXbds);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "NO of sent BDs:\t%d\t%d",handledTXbds,handledRXbds);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "NO of runs of ISR:\t%d\t%d",countEMACCore0TxIsr,countEMACCore0RxIsr);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "\n");
-
- rpp_sci_printf((const char *) "PBUFs:\t\tTX\tRX\n");
- rpp_sci_printf((const char *) "PBUF Chains prepared:\t%d\t%d",preparedTxPBUFChains,preparedRxPBUFChains);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "PBUFs prepared:\t%d\t%d",preparedTxPBUFs,preparedRxPBUFs);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "PBUF Chains filled:\t%d\t%d",filledTxPBUFChains,filledRxPBUFChains);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "PBUFs filled:\t%d\t%d",filledTxPBUFs,filledRxPBUFs);
- rpp_sci_printf((const char *) "\n");
- rpp_sci_printf((const char *) "\n");
+ rpp_sci_printf("BDs:\t\tTX\tRX\n");
+ rpp_sci_printf("NO of filled PKTs:\t%d\t%d\n",filledTXPKTs,filledRXPKTs);
+ rpp_sci_printf("NO of sent PKTs:\t%d\t%d\n",handledTXPKTs,handledRXPKTs);
+ rpp_sci_printf("NO of filled BDs:\t%d\t%d\n",filledTXbds,filledRXbds);
+ rpp_sci_printf("NO of sent BDs:\t%d\t%d\n",handledTXbds,handledRXbds);
+ rpp_sci_printf("NO of runs of ISR:\t%d\t%d\n",countEMACCore0TxIsr,countEMACCore0RxIsr);
+ rpp_sci_printf("\n");
+
+ rpp_sci_printf("PBUFs:\t\tTX\tRX\n");
+ rpp_sci_printf("PBUF Chains prepared:\t%d\t%d\n",preparedTxPBUFChains,preparedRxPBUFChains);
+ rpp_sci_printf("PBUFs prepared:\t%d\t%d\n",preparedTxPBUFs,preparedRxPBUFs);
+ rpp_sci_printf("PBUF Chains filled:\t%d\t%d\n",filledTxPBUFChains,filledRxPBUFChains);
+ rpp_sci_printf("PBUFs filled:\t%d\t%d\n",filledTxPBUFs,filledRxPBUFs);
+ rpp_sci_printf("\n");
}
#endif
"\n"
"=== Description ===\n"
"After startup you use keys to control what will be done.\n"
- " q - quit\n"
- " s - general statistics\n"
- " t - transmit channel status\n"
- " r - receive channel status\n"
- " b - after giving address of bd it prints bd content\n"
- " a - checks consistency of buffer descriptors\n"
+ "* q - quit\n"
+ "* s - general statistics\n"
+ "* t - transmit channel status\n"
+ "* r - receive channel status\n"
+ "* b - after giving address of bd it prints bd content\n"
+ "* a - checks consistency of buffer descriptors\n"
"\n"
"\n"
"=== Example ===\n"
/** List of commands for lwip, defined as external */
cmd_des_t const *cmd_list_netstats[]={
&cmd_des_bufferdescriptors,
- &cmd_des_dhcp,
+// &cmd_des_dhcp,
#if LWIP_STATS_DISPLAY
- &cmd_des_lwip,
+// &cmd_des_lwip,
#endif
NULL
};
-