mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Add MAC addr filtering to stm32 driver. Record free space in q profiler
This commit is contained in:
1 parent
d1472992da
commit
c718d7999f
6 files changed
+83
-91
No files matched your search
+8
-7
@@ -1456,19 +1456,20 @@ struct mip_spi {
|
||||
};
|
||||
|
||||
#ifdef MIP_QPROFILE
|
||||
enum { // payload is frame length unless otherwise noted
|
||||
enum {
|
||||
QP_IRQTRIGGERED = 0, // payload is number of interrupts so far
|
||||
QP_FRAMEPUSHED,
|
||||
QP_FRAMEPOPPED,
|
||||
QP_FRAMEDONE,
|
||||
QP_FRAMEDROPPED,
|
||||
QP_QUEUEOVF // profiling queue is full, payload is number of frame drops so
|
||||
// far
|
||||
QP_FRAMEPUSHED, // available space in the frame queue
|
||||
QP_FRAMEPOPPED, // available space in the frame queue
|
||||
QP_FRAMEDONE, // available space in the frame queue
|
||||
QP_FRAMEDROPPED, // number of dropped frames
|
||||
QP_QUEUEOVF // profiling queue is full, payload is number of frame drops
|
||||
};
|
||||
|
||||
void qp_mark(unsigned int type, int len);
|
||||
void qp_log(void); // timestamp, type, payload
|
||||
void qp_init(void);
|
||||
#else
|
||||
#define qp_mark(a, b)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user