| 121 | } |
| 122 | |
| 123 | std::string mode_to_string(run_mode mode) |
| 124 | { |
| 125 | switch(mode) |
| 126 | { |
| 127 | case run_mode::parse: return "parse"; |
| 128 | case run_mode::render: return "render"; |
| 129 | case run_mode::both: return "both"; |
| 130 | } |
| 131 | return "render"; |
| 132 | } |
| 133 | |
| 134 | std::vector<int> parse_thread_counts(const std::string& raw) |
| 135 | { |