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>
21 lines
481 B
C
21 lines
481 B
C
#ifndef HAKMEM_TINY_SS_TARGET_H
|
|
#define HAKMEM_TINY_SS_TARGET_H
|
|
|
|
#include <stdatomic.h>
|
|
#include <stdint.h>
|
|
|
|
struct SuperSlab;
|
|
|
|
#ifndef TINY_NUM_CLASSES
|
|
#define TINY_NUM_CLASSES 8
|
|
#endif
|
|
|
|
// Per-class SuperSlab targeted drain queue (Treiber stack)
|
|
void ss_target_init(void);
|
|
void ss_target_enqueue(int class_idx, struct SuperSlab* ss);
|
|
struct SuperSlab* ss_target_pop(int class_idx);
|
|
void ss_target_requeue(int class_idx, struct SuperSlab* ss);
|
|
|
|
#endif // HAKMEM_TINY_SS_TARGET_H
|
|
|