Skip to content

Commit 1c2659b

Browse files
committed
Add comment about 'auto' keyword being used
1 parent 0be92c9 commit 1c2659b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libCacheSim/bin/cachesim/cli_parser.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ static int conv_cache_sizes(char *cache_size_str, struct arguments *args) {
456456
token = strtok(NULL, ",");
457457
}
458458

459+
// detection of cache size set to 0 or auto
459460
if (args->n_cache_size == 1 && args->cache_sizes[0] == 0) {
460461
set_cache_size(args, args->reader);
461462
}

0 commit comments

Comments
 (0)