components: lwip - enable PERF macro for debug reason
This commit is contained in:
parent
68bc7b4476
commit
77caf256c6
|
@ -62,7 +62,7 @@ static const char mem_debug_file[] ICACHE_RODATA_ATTR STORE_ATTR = __FILE__;
|
|||
|
||||
/* global variables */
|
||||
#ifdef PERF
|
||||
uint32 g_rx_post_mbox_fail_cnt = 0;
|
||||
uint32_t g_rx_post_mbox_fail_cnt = 0;
|
||||
#endif
|
||||
static tcpip_init_done_fn tcpip_init_done;
|
||||
static void *tcpip_init_done_arg;
|
||||
|
|
|
@ -221,6 +221,7 @@ extern unsigned long os_random(void);
|
|||
* TCP_WND: The size of a TCP window. This must be at least
|
||||
* (2 * TCP_MSS) for things to work well
|
||||
*/
|
||||
#define PERF 1
|
||||
#ifdef PERF
|
||||
extern unsigned char misc_prof_get_tcpw(void);
|
||||
extern unsigned char misc_prof_get_tcp_snd_buf(void);
|
||||
|
|
|
@ -66,7 +66,7 @@ static char hostname[16];
|
|||
static char hostname[16];
|
||||
#endif
|
||||
#ifdef PERF
|
||||
uint32 g_rx_alloc_pbuf_fail_cnt = 0;
|
||||
uint32_t g_rx_alloc_pbuf_fail_cnt = 0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue