We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91f703a commit 51f4bdfCopy full SHA for 51f4bdf
libCacheSim/bin/cachesim/cache_init.h
@@ -125,9 +125,9 @@ static inline cache_t *create_cache(const char *trace_path,
125
cache = WTinyLFU_init(cc_params, eviction_params);
126
}
127
128
- } else if (strcasecmp(eviction_algo, "belady") == 0 &&
129
- strcasestr(trace_path, "lcs") == NULL) {
130
- if (strcasestr(trace_path, "oracleGeneral") == NULL) {
+ } else if (strcasecmp(eviction_algo, "belady") == 0) {
+ if (strcasestr(trace_path, "oracleGeneral") == NULL &&
+ strcasestr(trace_path, "lcs") == NULL) {
131
WARN("belady is only supported for oracleGeneral and lcs trace\n");
132
WARN("to convert a trace to lcs format\n");
133
WARN("./bin/traceConv input_trace trace_format output_trace\n");
0 commit comments