| 113 | } |
| 114 | |
| 115 | int main(int argc, char *argv[]) { |
| 116 | struct arguments args; |
| 117 | parse_cmd(argc, argv, &args); |
| 118 | if (args.n_cache_size != 1) { |
| 119 | WARN("only support one cache size\n"); |
| 120 | exit(0); |
| 121 | } |
| 122 | if (args.n_eviction_algo != 1) { |
| 123 | WARN("only support one eviction algorithm\n"); |
| 124 | exit(0); |
| 125 | } |
| 126 | |
| 127 | calWriteAmp(args.reader, args.caches[0]); |
| 128 | |
| 129 | free_arg(&args); |
| 130 | |
| 131 | return 0; |
| 132 | } |
nothing calls this directly
no test coverage detected