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

Function ClockPro_current_params

libCacheSim/cache/eviction/ClockPro.c:477–481  ·  view source on GitHub ↗

parameter set up functions

Source from the content-addressed store, hash-verified

475// **** ****
476// ***********************************************************************
477static const char *ClockPro_current_params(cache_t *cache, ClockPro_params_t *params) {
478 static __thread char params_str[128];
479 snprintf(params_str, 128, "init-ref=%d\n", params->init_ref);
480 return params_str;
481}
482
483static void ClockPro_parse_params(cache_t *cache, const char *cache_specific_params) {
484 ClockPro_params_t *params = (ClockPro_params_t *)(cache->eviction_params);

Callers 1

ClockPro_parse_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected