forked from espressif/esp-idf
components: lwip - enable PERF macro for debug reason
This commit is contained in:
@@ -62,7 +62,7 @@ static const char mem_debug_file[] ICACHE_RODATA_ATTR STORE_ATTR = __FILE__;
|
|||||||
|
|
||||||
/* global variables */
|
/* global variables */
|
||||||
#ifdef PERF
|
#ifdef PERF
|
||||||
uint32 g_rx_post_mbox_fail_cnt = 0;
|
uint32_t g_rx_post_mbox_fail_cnt = 0;
|
||||||
#endif
|
#endif
|
||||||
static tcpip_init_done_fn tcpip_init_done;
|
static tcpip_init_done_fn tcpip_init_done;
|
||||||
static void *tcpip_init_done_arg;
|
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
|
* TCP_WND: The size of a TCP window. This must be at least
|
||||||
* (2 * TCP_MSS) for things to work well
|
* (2 * TCP_MSS) for things to work well
|
||||||
*/
|
*/
|
||||||
|
#define PERF 1
|
||||||
#ifdef PERF
|
#ifdef PERF
|
||||||
extern unsigned char misc_prof_get_tcpw(void);
|
extern unsigned char misc_prof_get_tcpw(void);
|
||||||
extern unsigned char misc_prof_get_tcp_snd_buf(void);
|
extern unsigned char misc_prof_get_tcp_snd_buf(void);
|
||||||
|
@@ -66,7 +66,7 @@ static char hostname[16];
|
|||||||
static char hostname[16];
|
static char hostname[16];
|
||||||
#endif
|
#endif
|
||||||
#ifdef PERF
|
#ifdef PERF
|
||||||
uint32 g_rx_alloc_pbuf_fail_cnt = 0;
|
uint32_t g_rx_alloc_pbuf_fail_cnt = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user