You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Framework/Core/src/TopologyPolicy.cxx
+9-12Lines changed: 9 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ bool expendableDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
147
147
if (!isAExpendable && !isBExpendable) {
148
148
bool sporadic = sporadicDataDeps(a, b);
149
149
if (sporadic) {
150
-
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "false. Neither %s nor %s are expendable. However the former has sporadic inputs so we sort it after.",
150
+
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "true. Neither %s nor %s are expendable. However the former has sporadic inputs so we sort it after.",
151
151
a.name.c_str(), b.name.c_str());
152
152
returntrue;
153
153
}
@@ -159,7 +159,7 @@ bool expendableDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
159
159
if (isAExpendable && isBExpendable) {
160
160
bool sporadic = sporadicDataDeps(a, b);
161
161
if (sporadic) {
162
-
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "false. Both %s and %s are expendable. However the former has sporadic inputs, so we sort it after.",
162
+
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "true. Both %s and %s are expendable. However the former has sporadic inputs, so we sort it after.",
163
163
a.name.c_str(), b.name.c_str());
164
164
returntrue;
165
165
}
@@ -172,7 +172,7 @@ bool expendableDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
172
172
if (isAExpendable && bResilient) {
173
173
bool sporadic = sporadicDataDeps(a, b);
174
174
if (sporadic) {
175
-
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "false. %s is expendable but %s is resilient, however the former also has sporadic inputs, so we sort it after.",
175
+
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "true. %s is expendable but %s is resilient, however the former also has sporadic inputs, so we sort it after.",
176
176
a.name.c_str(), b.name.c_str());
177
177
returntrue;
178
178
}
@@ -188,8 +188,6 @@ bool expendableDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
188
188
a.name.c_str(), hasDependency ? "There is however an inverse dependency" : "No inverse dependency", b.name.c_str(), a.name.c_str(),
189
189
!hasDependency ? "true" : "false");
190
190
if (!hasDependency) {
191
-
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "%s is expendable. There is however an inverse dependecy from %s to %s => true.",
192
-
a.name.c_str(), b.name.c_str(), a.name.c_str());
193
191
returntrue;
194
192
}
195
193
bool sporadic = sporadicDataDeps(a, b);
@@ -203,13 +201,6 @@ bool expendableDataDeps(DataProcessorSpec const& a, DataProcessorSpec const& b)
203
201
returnfalse;
204
202
}
205
203
// b is expendable and a is not. We are fine with no dependency.
206
-
bool sporadic = sporadicDataDeps(a, b);
207
-
if (sporadic) {
208
-
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "false. %s is expendable but %s is not. However the former has an sporadic input => true.",
209
-
b.name.c_str(), a.name.c_str());
210
-
returntrue;
211
-
}
212
-
// b is expendable and a is not. We are fine with no dependency.
213
204
O2_SIGNPOST_END(topology, sid, "expendableDataDeps", "false. %s is expendable but %s is not. No need to add an unneeded dependency.",
O2_SIGNPOST_END(topology, sid, "alwaysDependent", "false. Dependent %s is an output proxy and ancestor %s has sporadic inputs", dependent.name.c_str(), ancestor.name.c_str());
267
+
returnfalse;
268
+
}
269
+
273
270
O2_SIGNPOST_END(topology, sid, "alwaysDependent", "true by default. Ancestor %s is not an output proxy.", ancestor.name.c_str());
0 commit comments