Skip to content

Commit

Permalink
allow the algorithm name to be S3-FIFO (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
1a1a11a committed Jan 1, 2024
1 parent 6a89a06 commit db6bd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libCacheSim/bin/cachesim/cache_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static inline cache_t *create_cache(const char *trace_path,
cache = Sieve_Belady_init(cc_params, eviction_params);
} else if (strcasecmp(eviction_algo, "s3lru") == 0) {
cache = S3LRU_init(cc_params, eviction_params);
} else if (strcasecmp(eviction_algo, "s3fifo") == 0) {
} else if (strcasecmp(eviction_algo, "s3fifo") == 0 || strcasecmp(eviction_algo, "s3-fifo") == 0) {
cache = S3FIFO_init(cc_params, eviction_params);
} else if (strcasecmp(eviction_algo, "s3fifod") == 0) {
cache = S3FIFOd_init(cc_params, eviction_params);
Expand Down

0 comments on commit db6bd31

Please sign in to comment.