Add MAC addr filtering to stm32 driver. Record free space in q profiler

This commit is contained in:
cpq committed 2022-09-10 16:38:03 +01:00
1 parent d1472992da
commit c718d7999f
6 files changed
+83 -91

No files matched your search

+8 -7
View File
@@ -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