dump lwip statistics at the end of the benchmark
This commit is contained in:
parent
83547015b7
commit
a4a37a0c7a
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue