| 1073 | } |
| 1074 | |
| 1075 | void logRelocation(const RelocateData& rd, const char* title) { |
| 1076 | std::string busyString; |
| 1077 | for (int i = 0; i < rd.src.size() && i < teamSize * 2; i++) |
| 1078 | busyString += describe(rd.src[i]) + " - (" + busymap[rd.src[i]].toString() + "); "; |
| 1079 | |
| 1080 | TraceEvent(title, distributorId) |
| 1081 | .detail("KeyBegin", rd.keys.begin) |
| 1082 | .detail("KeyEnd", rd.keys.end) |
| 1083 | .detail("Priority", rd.priority) |
| 1084 | .detail("WorkFactor", rd.workFactor) |
| 1085 | .detail("SourceServerCount", rd.src.size()) |
| 1086 | .detail("SourceServers", describe(rd.src, teamSize * 2)) |
| 1087 | .detail("SourceBusyness", busyString); |
| 1088 | } |
| 1089 | |
| 1090 | void launchQueuedWork(KeyRange keys, const DDEnabledState* ddEnabledState) { |
| 1091 | // combine all queued work in the key range and check to see if there is anything to launch |
nothing calls this directly
no test coverage detected