MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / BinEntry

Class BinEntry

libCacheSim/dataStructure/histogram.h:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#define HISTOGRAM_H
8
9typedef struct BinEntry {
10 uint64_t frequency; // ✅ Stores how often this distance occurs
11 float threshold; // ✅ Keeps track of the threshold for this distance
12} BinEntry;
13
14typedef struct ReuseHistogram {
15 GHashTable* bins; // ✅ Dynamic binning with a hash table

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected