17 lines
520 B
C
17 lines
520 B
C
|
|
#include <stdint.h>
|
||
|
|
#include "tiny_debug_ring.h"
|
||
|
|
|
||
|
|
#ifndef TINY_NUM_CLASSES
|
||
|
|
#define TINY_NUM_CLASSES 8
|
||
|
|
#endif
|
||
|
|
|
||
|
|
unsigned long long g_pub_mail_hits[TINY_NUM_CLASSES] = {0};
|
||
|
|
unsigned long long g_rf_hit_mail[TINY_NUM_CLASSES] = {0};
|
||
|
|
unsigned long long g_mailbox_register_calls[TINY_NUM_CLASSES] = {0};
|
||
|
|
unsigned long long g_mailbox_slow_discoveries[TINY_NUM_CLASSES] = {0};
|
||
|
|
|
||
|
|
void tiny_debug_ring_record(uint16_t event, uint16_t class_idx, void* ptr, uintptr_t aux) {
|
||
|
|
(void)event; (void)class_idx; (void)ptr; (void)aux;
|
||
|
|
}
|
||
|
|
|