Logo
Explore Help
Register Sign In
tomoaki/hakmem
1
0
Fork 0
You've already forked hakmem
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
hakmem/core/hakmem_size_hist.h

16 lines
470 B
C
Raw Permalink Normal View History

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>
2025-11-05 12:31:14 +09:00
#ifndef HAKMEM_SIZE_HIST_H
#define HAKMEM_SIZE_HIST_H
#include <stdint.h>
#include <stddef.h>
// Lightweight size histogram (1 KiB bins) with sampling.
// Range: 1 KiB .. 2048 KiB (2048 bins). Bin 0 is unused.
void hkm_size_hist_init(void);
void hkm_size_hist_record(size_t size);
// Copy up to n bins (bins[0..n-1] => sizes 0..(n-1) KiB). If reset!=0, zero after snapshot.
void hkm_size_hist_snapshot(uint64_t* bins, int n, int reset);
#endif // HAKMEM_SIZE_HIST_H
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 62ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API