mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Made queuebuf statistics configurable, and off by default
This commit is contained in:
parent
8ec88e2fcb
commit
2eba08e8f6
@ -33,7 +33,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: queuebuf.c,v 1.15 2009/10/19 21:28:59 adamdunkels Exp $
|
||||
* $Id: queuebuf.c,v 1.16 2010/02/08 21:10:32 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -84,7 +84,10 @@ MEMB(refbufmem, struct queuebuf_ref, QUEUEBUF_REF_NUM);
|
||||
#define PRINTF(...)
|
||||
#endif
|
||||
|
||||
#define QUEUEBUF_STATS 1
|
||||
#ifdef QUEUEBUF_CONF_STATS
|
||||
#define QUEUEBUF_STATS QUEUEBUF_CONF_STATS
|
||||
#endif /* QUEUEBUF_CONF_STATS */
|
||||
|
||||
#if QUEUEBUF_STATS
|
||||
uint8_t queuebuf_len, queuebuf_ref_len, queuebuf_max_len;
|
||||
#endif /* QUEUEBUF_STATS */
|
||||
|
Loading…
Reference in New Issue
Block a user