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

Function LRB_current_params

libCacheSim/cache/eviction/LRB/LRB_Interface.cpp:308–315  ·  view source on GitHub ↗

parameter set up functions

Source from the content-addressed store, hash-verified

306// **** ****
307// ***********************************************************************
308static const char *LRB_current_params(cache_t *cache, LRB_params_t *params) {
309 static __thread char params_str[128];
310 int n = snprintf(params_str, 128, "objective=%s", params->objective);
311
312 snprintf(cache->cache_name + n, 128 - n, "\n");
313
314 return params_str;
315}
316
317static void LRB_parse_params(cache_t *cache,
318 const char *cache_specific_params) {

Callers 1

LRB_parse_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected