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

Function get_cache_state

libCacheSim/cache/cacheUtils.h:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static inline void get_cache_state(cache_t *cache, cache_stat_t *cache_state) {
33 if (cache->hashtable->n_obj == 0) return;
34
35 hashtable_foreach(cache->hashtable, _get_cache_state_ht_iter, cache_state);
36}
37
38#ifdef __cplusplus
39}

Callers 1

_simulateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected