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

Function Clock_current_params

libCacheSim/cache/eviction/Clock.c:284–289  ·  view source on GitHub ↗

parameter set up functions

Source from the content-addressed store, hash-verified

282// **** ****
283// ***********************************************************************
284static const char *Clock_current_params(cache_t *cache, Clock_params_t *params) {
285 static __thread char params_str[128];
286 snprintf(params_str, 128, "n-bit-counter=%d\n", params->n_bit_counter);
287
288 return params_str;
289}
290
291static void Clock_parse_params(cache_t *cache, const char *cache_specific_params) {
292 Clock_params_t *params = (Clock_params_t *)cache->eviction_params;

Callers 1

Clock_parse_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected