dump lwip statistics at the end of the benchmark

This commit is contained in:
Stefan Lankes 2011-09-29 03:23:13 -07:00
parent 83547015b7
commit a4a37a0c7a

View file

@ -40,6 +40,7 @@
#ifdef CONFIG_LWIP
#include <lwip/sockets.h>
#include <lwip/stats.h>
typedef struct
{
@ -270,6 +271,8 @@ static int TCPServer(void* arg)
closesocket(client);
stats_display();
if (rc < 0)
break;
}