mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
patch #8423 "arch/perf.h" should be made an optional item
This commit is contained in:
parent
7ff9825f55
commit
974a853f40
@ -6,6 +6,9 @@ HISTORY
|
|||||||
|
|
||||||
++ New features:
|
++ New features:
|
||||||
|
|
||||||
|
2015-02-11: Frederick Baksik
|
||||||
|
opt.h, def.h, others: patch #8423 "arch/perf.h" should be made an optional item
|
||||||
|
|
||||||
2015-02-11: Simon Goldschmidt
|
2015-02-11: Simon Goldschmidt
|
||||||
* api_msg.c, opt.h: started to implement fullduplex sockets/netconns
|
* api_msg.c, opt.h: started to implement fullduplex sockets/netconns
|
||||||
(note that this is highly unstable yet!)
|
(note that this is highly unstable yet!)
|
||||||
|
@ -54,7 +54,6 @@
|
|||||||
#include "lwip/dhcp.h"
|
#include "lwip/dhcp.h"
|
||||||
#include "lwip/autoip.h"
|
#include "lwip/autoip.h"
|
||||||
#include "lwip/stats.h"
|
#include "lwip/stats.h"
|
||||||
#include "arch/perf.h"
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
#include "lwip/memp.h"
|
#include "lwip/memp.h"
|
||||||
#include "lwip/pbuf.h"
|
#include "lwip/pbuf.h"
|
||||||
#include "lwip/sys.h"
|
#include "lwip/sys.h"
|
||||||
#include "arch/perf.h"
|
|
||||||
#if LWIP_TCP && TCP_QUEUE_OOSEQ
|
#if LWIP_TCP && TCP_QUEUE_OOSEQ
|
||||||
#include "lwip/tcp_impl.h"
|
#include "lwip/tcp_impl.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
#include "lwip/netif.h"
|
#include "lwip/netif.h"
|
||||||
#include "lwip/raw.h"
|
#include "lwip/raw.h"
|
||||||
#include "lwip/stats.h"
|
#include "lwip/stats.h"
|
||||||
#include "arch/perf.h"
|
|
||||||
#include "lwip/ip6.h"
|
#include "lwip/ip6.h"
|
||||||
#include "lwip/ip6_addr.h"
|
#include "lwip/ip6_addr.h"
|
||||||
#include "lwip/inet_chksum.h"
|
#include "lwip/inet_chksum.h"
|
||||||
|
@ -54,7 +54,6 @@
|
|||||||
#include "lwip/inet_chksum.h"
|
#include "lwip/inet_chksum.h"
|
||||||
#include "lwip/stats.h"
|
#include "lwip/stats.h"
|
||||||
#include "lwip/snmp.h"
|
#include "lwip/snmp.h"
|
||||||
#include "arch/perf.h"
|
|
||||||
#include "lwip/ip6.h"
|
#include "lwip/ip6.h"
|
||||||
#include "lwip/ip6_addr.h"
|
#include "lwip/ip6_addr.h"
|
||||||
#include "lwip/inet_chksum.h"
|
#include "lwip/inet_chksum.h"
|
||||||
|
@ -63,7 +63,6 @@
|
|||||||
#include "lwip/icmp6.h"
|
#include "lwip/icmp6.h"
|
||||||
#include "lwip/stats.h"
|
#include "lwip/stats.h"
|
||||||
#include "lwip/snmp.h"
|
#include "lwip/snmp.h"
|
||||||
#include "arch/perf.h"
|
|
||||||
#include "lwip/dhcp.h"
|
#include "lwip/dhcp.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,6 +35,12 @@
|
|||||||
/* arch.h might define NULL already */
|
/* arch.h might define NULL already */
|
||||||
#include "lwip/arch.h"
|
#include "lwip/arch.h"
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
|
#if LWIP_PERF
|
||||||
|
#include "arch/perf.h"
|
||||||
|
#else /* LWIP_PERF */
|
||||||
|
#define PERF_START /* null definition */
|
||||||
|
#define PERF_STOP(x) /* null definition */
|
||||||
|
#endif /* LWIP_PERF */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -2796,4 +2796,17 @@
|
|||||||
#define IP6_DEBUG LWIP_DBG_OFF
|
#define IP6_DEBUG LWIP_DBG_OFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
--------------------------------------------------
|
||||||
|
---------- Performance tracking options ----------
|
||||||
|
--------------------------------------------------
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* LWIP_PERF: Enable performance testing for lwIP
|
||||||
|
* (if enabled, arch/perf.h is included)
|
||||||
|
*/
|
||||||
|
#ifndef LWIP_PERF
|
||||||
|
#define LWIP_PERF 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_HDR_OPT_H */
|
#endif /* LWIP_HDR_OPT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user