| 679 | c.engine.n_threads = parse_int(need_arg(&i, argc, argv, arg), arg); |
| 680 | } else if (!strcmp(arg, "--chdir")) { |
| 681 | c.chdir_path = need_arg(&i, argc, argv, arg); |
| 682 | } else if (!strcmp(arg, "--quality")) { |
| 683 | c.engine.quality = true; |
| 684 | } else if (!strcmp(arg, "--ssd-streaming")) { |
| 685 | c.engine.ssd_streaming = true; |
| 686 | } else if (!strcmp(arg, "--ssd-streaming-cold")) { |
| 687 | c.engine.ssd_streaming_cold = true; |
| 688 | } else if (!strcmp(arg, "--ssd-streaming-cache-experts")) { |
| 689 | uint32_t experts = 0; |
| 690 | uint64_t bytes = 0; |
| 691 | if (!ds4_parse_streaming_cache_experts_arg( |
| 692 | need_arg(&i, argc, argv, arg), &experts, &bytes)) { |
| 693 | fprintf(stderr, |
| 694 | "ds4-agent: --ssd-streaming-cache-experts must be a positive count or <number>GB\n"); |
| 695 | exit(2); |
| 696 | } |
| 697 | c.engine.ssd_streaming_cache_experts = experts; |
| 698 | c.engine.ssd_streaming_cache_bytes = bytes; |
| 699 | } else if (!strcmp(arg, "--ssd-streaming-full-layers")) { |
no test coverage detected