Debug Counters Implementation - Clean History

Major Features:
- Debug counter infrastructure for Refill Stage tracking
- Free Pipeline counters (ss_local, ss_remote, tls_sll)
- Diagnostic counters for early return analysis
- Unified larson.sh benchmark runner with profiles
- Phase 6-3 regression analysis documentation

Bug Fixes:
- Fix SuperSlab disabled by default (HAKMEM_TINY_USE_SUPERSLAB)
- Fix profile variable naming consistency
- Add .gitignore patterns for large files

Performance:
- Phase 6-3: 4.79 M ops/s (has OOM risk)
- With SuperSlab: 3.13 M ops/s (+19% improvement)

This is a clean repository without large log files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Moe Charm (CI)
2025-11-05 12:31:14 +09:00
commit 52386401b3
27144 changed files with 124451 additions and 0 deletions

11
core/tiny_mailbox.h Normal file
View File

@ -0,0 +1,11 @@
// tiny_mailbox.h - Publish Mailbox box (Box Theory)
#pragma once
#include <stdint.h>
#include <stdatomic.h>
#include "hakmem_tiny_superslab.h"
// API: register/publish/fetch
void tiny_mailbox_register(int class_idx);
void tiny_mailbox_publish(int class_idx, SuperSlab* ss, int slab_idx);
uintptr_t tiny_mailbox_fetch(int class_idx);