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

Method closeOperators

bolt/exec/Driver.cpp:956–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

954}
955
956void Driver::closeOperators() {
957 // Close operators.
958 for (auto& op : operators_) {
959 op->close();
960 }
961
962 // Add operator stats to the task.
963 for (auto& op : operators_) {
964 auto stats = op->stats(true);
965 stats.numDrivers = 1;
966 task()->addOperatorStats(stats);
967 }
968}
969
970void Driver::close() {
971 if (closed_) {

Callers

nothing calls this directly

Calls 3

addOperatorStatsMethod · 0.80
closeMethod · 0.45
statsMethod · 0.45

Tested by

no test coverage detected