@@ -299,10 +299,6 @@ void parse_cmd(int argc, char *argv[], struct arguments *args) {
299299 cache = SLRU_init (cc_params , args -> eviction_params );
300300 } else if (strcasecmp (args -> eviction_algo , "slruv0" ) == 0 ) {
301301 cache = SLRUv0_init (cc_params , args -> eviction_params );
302- } else if (strcasecmp (args -> eviction_algo , "sfifo" ) == 0 ) {
303- cache = SFIFO_init (cc_params , args -> eviction_params );
304- } else if (strcasecmp (args -> eviction_algo , "sfifov0" ) == 0 ) {
305- cache = SFIFOv0_init (cc_params , args -> eviction_params );
306302 } else if (strcasecmp (args -> eviction_algo , "hyperbolic" ) == 0 ) {
307303 cc_params .hashpower = MAX (cc_params .hashpower - 8 , 16 );
308304 cache = Hyperbolic_init (cc_params , args -> eviction_params );
@@ -350,44 +346,6 @@ void parse_cmd(int argc, char *argv[], struct arguments *args) {
350346#ifdef ENABLE_LRB
351347 } else if (strcasecmp (args -> eviction_algo , "lrb" ) == 0 ) {
352348 cache = LRB_init (cc_params , args -> eviction_params );
353- #endif
354- #ifdef INCLUDE_PRIV
355- } else if (strcasecmp (args -> eviction_algo , "myclock" ) == 0 ) {
356- cache = MyClock_init (cc_params , args -> eviction_params );
357- } else if (strcasecmp (args -> eviction_algo , "mclock" ) == 0 ) {
358- cache = MClock_init (cc_params , args -> eviction_params );
359- } else if (strcasecmp (args -> eviction_algo , "lp-sfifo" ) == 0 ) {
360- cache = LP_SFIFO_init (cc_params , args -> eviction_params );
361- } else if (strcasecmp (args -> eviction_algo , "lp-arc" ) == 0 ) {
362- cache = LP_ARC_init (cc_params , args -> eviction_params );
363- } else if (strcasecmp (args -> eviction_algo , "lp-twoq" ) == 0 ) {
364- cache = LP_TwoQ_init (cc_params , args -> eviction_params );
365- } else if (strcasecmp (args -> eviction_algo , "sfifomerge" ) == 0 ||
366- strcasecmp (args -> eviction_algo , "sfifo-merge" ) == 0 ) {
367- cache = SFIFO_Merge_init (cc_params , args -> eviction_params );
368- } else if (strcasecmp (args -> eviction_algo , "sfifo-reinsertion" ) == 0 ) {
369- cache = SFIFO_Reinsertion_init (cc_params , args -> eviction_params );
370- } else if (strcasecmp (args -> eviction_algo , "lru-prob" ) == 0 ) {
371- cache = LRU_Prob_init (cc_params , args -> eviction_params );
372- } else if (strcasecmp (args -> eviction_algo , "qdlp" ) == 0 ) {
373- cache = QDLP_init (cc_params , args -> eviction_params );
374- } else if (strcasecmp (args -> eviction_algo , "qdlpv1" ) == 0 ) {
375- cache = QDLPv1_init (cc_params , args -> eviction_params );
376- } else if (strcasecmp (args -> eviction_algo , "qdlpv2" ) == 0 ) {
377- cache = QDLPv2_init (cc_params , args -> eviction_params );
378- } else if (strcasecmp (args -> eviction_algo , "myMQv1" ) == 0 ) {
379- cache = myMQv1_init (cc_params , args -> eviction_params );
380- } else if (strcasecmp (args -> eviction_algo , "lru-belady" ) == 0 ) {
381- if (strstr (args -> trace_path , ".zst" ) != NULL ) {
382- ERROR ("lru-belady only supports uncompressed trace files\n" );
383- }
384- ERROR ("not implemented\n" );
385- // reader_t *reader = clone_reader(args->reader);
386- cache = LRU_init (cc_params , args -> eviction_params );
387- // cache->future_stack_dist = get_stack_dist(
388- // reader, FUTURE_STACK_DIST, &(cache->future_stack_dist_array_size));
389- // assert(get_num_of_req(reader) == cache->future_stack_dist_array_size);
390- // close_reader(reader);
391349#endif
392350 } else {
393351 ERROR ("do not support algorithm %s\n" , args -> eviction_algo );
0 commit comments