Skip to content

Commit 10b6057

Browse files
authored
Merge 7693c9e into sapling-pr-archive-ktf
2 parents 780712d + 7693c9e commit 10b6057

2 files changed

Lines changed: 22 additions & 12 deletions

File tree

Detectors/Upgrades/ALICE3/TRK/reconstruction/src/ClustererACTS.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ void ClustererACTS::process(gsl::span<const Digit> digits,
387387
outFirst, static_cast<int>(clusters.size()) - outFirst);
388388
}
389389

390-
if (clusterMC2ROFs && !digMC2ROFs.empty()) {
391-
clusterMC2ROFs->reserve(clusterMC2ROFs->size() + digMC2ROFs.size());
392-
for (const auto& in : digMC2ROFs) {
393-
clusterMC2ROFs->emplace_back(in.eventRecordID, in.rofRecordID, in.minROF, in.maxROF);
394-
}
395-
}
390+
// if (clusterMC2ROFs && !digMC2ROFs.empty()) {
391+
// clusterMC2ROFs->reserve(clusterMC2ROFs->size() + digMC2ROFs.size());
392+
// for (const auto& in : digMC2ROFs) {
393+
// clusterMC2ROFs->emplace_back(in.eventRecordID, in.rofRecordID, in.minROF, in.maxROF);
394+
// }
395+
// }
396396
}

Framework/Core/src/DataProcessingDevice.cxx

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,14 +1420,24 @@ void DataProcessingDevice::Run()
14201420
}
14211421
return missingInfo.empty() ? std::string(" (policy: ") + spec.resourcePolicy.name + ")" : " -" + missingInfo;
14221422
};
1423+
auto const timeSinceLastScheduled = lastSched ? uv_now(state.loop) - lastSched : 0;
14231424
if (schedulingStats.numberOfUnscheduledSinceLastScheduled >= schedulingStats.nextWarnAt) {
14241425
auto const missingStr = buildMissingInfo();
1425-
O2_SIGNPOST_EVENT_EMIT_WARN(scheduling, sid, "Run",
1426-
"Not enough resources to schedule computation on stream %d. %zu consecutive skips%s. Missing:%s. Data is not lost and it will be scheduled again.",
1427-
streamRef.index,
1428-
schedulingStats.numberOfUnscheduledSinceLastScheduled.load(),
1429-
schedInfo.c_str(),
1430-
missingStr.c_str());
1426+
if (timeSinceLastScheduled >= 50) {
1427+
O2_SIGNPOST_EVENT_EMIT_WARN(scheduling, sid, "Run",
1428+
"Not enough resources to schedule computation on stream %d. %zu consecutive skips%s. Missing:%s. Data is not lost and it will be scheduled again.",
1429+
streamRef.index,
1430+
schedulingStats.numberOfUnscheduledSinceLastScheduled.load(),
1431+
schedInfo.c_str(),
1432+
missingStr.c_str());
1433+
} else {
1434+
O2_SIGNPOST_EVENT_EMIT(scheduling, sid, "Run",
1435+
"Not enough resources to schedule computation on stream %d. %zu consecutive skips%s. Missing:%s. Data is not lost and it will be scheduled again.",
1436+
streamRef.index,
1437+
schedulingStats.numberOfUnscheduledSinceLastScheduled.load(),
1438+
schedInfo.c_str(),
1439+
missingStr.c_str());
1440+
}
14311441
schedulingStats.nextWarnAt = schedulingStats.nextWarnAt * 2;
14321442
} else {
14331443
auto const missingStr = buildMissingInfo();

0 commit comments

Comments
 (0)