MCPcopy Create free account
hub / github.com/bytedance/bolt / executionModeString

Function executionModeString

bolt/exec/Task.cpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183} // namespace
184
185std::string executionModeString(Task::ExecutionMode mode) {
186 switch (mode) {
187 case Task::ExecutionMode::kSerial:
188 return "Serial";
189 case Task::ExecutionMode::kParallel:
190 return "Parallel";
191 default:
192 return fmt::format("Unknown {}", static_cast<int>(mode));
193 }
194}
195
196std::ostream& operator<<(std::ostream& out, Task::ExecutionMode mode) {
197 return out << executionModeString(mode);

Callers 2

Task.cppFile · 0.85
formatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected