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

Function default_common_cache_params

libCacheSim/include/libCacheSim/cache.h:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162};
163
164static inline common_cache_params_t default_common_cache_params(void) {
165 common_cache_params_t params;
166 params.cache_size = 1 * GiB;
167 params.default_ttl = (uint64_t)(364 * 86400);
168 params.hashpower = 20;
169 params.consider_obj_metadata = false;
170 return params;
171}
172
173/**
174 * initialize the cache struct, must be called in all cache_init functions

Callers 3

mainFunction · 0.85
run_multiple_cachesFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68