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

Function TwoQ_current_params

libCacheSim/cache/eviction/TwoQ.c:323–328  ·  view source on GitHub ↗

parameter set up functions

Source from the content-addressed store, hash-verified

321// **** ****
322// ***********************************************************************
323static const char *TwoQ_current_params(TwoQ_params_t *params) {
324 static __thread char params_str[128];
325 snprintf(params_str, 128, "Ain-size-ratio=%.2lf,Aout-size-ratio=%.2lf\n",
326 params->Ain_size_ratio, params->Aout_size_ratio);
327 return params_str;
328}
329
330static void TwoQ_parse_params(cache_t *cache,
331 const char *cache_specific_params) {

Callers 1

TwoQ_parse_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected