| 329 | } else if (!strcmp(arg, "--quality")) { |
| 330 | c.quality = true; |
| 331 | } else if (!strcmp(arg, "--ssd-streaming")) { |
| 332 | c.ssd_streaming = true; |
| 333 | } else if (!strcmp(arg, "--ssd-streaming-cold")) { |
| 334 | c.ssd_streaming_cold = true; |
| 335 | } else if (!strcmp(arg, "--ssd-streaming-cache-experts")) { |
| 336 | uint32_t experts = 0; |
| 337 | uint64_t bytes = 0; |
| 338 | if (!ds4_parse_streaming_cache_experts_arg( |
| 339 | need_arg(&i, argc, argv, arg), &experts, &bytes)) { |
| 340 | fprintf(stderr, |
| 341 | "ds4-bench: --ssd-streaming-cache-experts must be a positive count or <number>GB\n"); |
| 342 | exit(2); |
| 343 | } |
| 344 | c.ssd_streaming_cache_experts = experts; |
| 345 | c.ssd_streaming_cache_bytes = bytes; |
| 346 | } else if (!strcmp(arg, "--ssd-streaming-full-layers")) { |
| 347 | int v = parse_nonnegative_int(need_arg(&i, argc, argv, arg), arg); |
| 348 | c.ssd_streaming_full_layers = (uint32_t)v; |
| 349 | c.ssd_streaming_full_layers_set = true; |
| 350 | } else if (!strcmp(arg, "--ssd-streaming-preload-experts")) { |
| 351 | int v = parse_int(need_arg(&i, argc, argv, arg), arg); |
| 352 | if (v <= 0) { |
| 353 | fprintf(stderr, "ds4-bench: --ssd-streaming-preload-experts must be positive\n"); |
| 354 | exit(2); |
no outgoing calls
no test coverage detected