From 305e231da64dd4cf5704f3f1b72593ba428dbb4c Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Sat, 11 Jan 2025 23:16:33 +0000 Subject: [PATCH] Please consider the following formatting changes --- EventVisualisation/Workflow/src/O2DPLDisplay.cxx | 2 +- Framework/Core/src/ComputingQuotaEvaluator.cxx | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/EventVisualisation/Workflow/src/O2DPLDisplay.cxx b/EventVisualisation/Workflow/src/O2DPLDisplay.cxx index e02e1ee20ce58..5ded96ec86708 100644 --- a/EventVisualisation/Workflow/src/O2DPLDisplay.cxx +++ b/EventVisualisation/Workflow/src/O2DPLDisplay.cxx @@ -230,7 +230,7 @@ void O2DPLDisplaySpec::run(ProcessingContext& pc) } // FIXME: find out why this does not work with 11.1.1 -// LOGP(info, "Tracks: {}", fmt::join(sourceStats, ", ")); + // LOGP(info, "Tracks: {}", fmt::join(sourceStats, ", ")); } void O2DPLDisplaySpec::endOfStream(EndOfStreamContext& ec) diff --git a/Framework/Core/src/ComputingQuotaEvaluator.cxx b/Framework/Core/src/ComputingQuotaEvaluator.cxx index 56b7f4a59be88..e12f5a675d42d 100644 --- a/Framework/Core/src/ComputingQuotaEvaluator.cxx +++ b/Framework/Core/src/ComputingQuotaEvaluator.cxx @@ -24,7 +24,6 @@ #define LOGLEVEL debug - namespace o2::framework { @@ -91,7 +90,7 @@ bool ComputingQuotaEvaluator::selectOffer(int task, ComputingQuotaRequest const& } if (enough) { LOGP(LOGLEVEL, "{} offers were selected for a total of: cpu {}, memory {}, shared memory {}", result.size(), totalOffer.cpu, totalOffer.memory, totalOffer.sharedMemory); - //LOG(LOGLEVEL) << " The following offers were selected for computation: {} " << fmt::join(result, ", "); + // LOG(LOGLEVEL) << " The following offers were selected for computation: {} " << fmt::join(result, ", "); dpStats.updateStats({static_cast(ProcessingStatsId::RESOURCES_SATISFACTORY), DataProcessingStats::Op::Add, 1}); } else { dpStats.updateStats({static_cast(ProcessingStatsId::RESOURCES_MISSING), DataProcessingStats::Op::Add, 1}); @@ -100,16 +99,16 @@ bool ComputingQuotaEvaluator::selectOffer(int task, ComputingQuotaRequest const& } } if (stats.invalidOffers.size()) { - // LOGP(LOGLEVEL, " The following offers were invalid: {}", fmt::join(stats.invalidOffers, ", ")); + // LOGP(LOGLEVEL, " The following offers were invalid: {}", fmt::join(stats.invalidOffers, ", ")); } if (stats.otherUser.size()) { - // LOGP(LOGLEVEL, " The following offers were owned by other users: {}", fmt::join(stats.otherUser, ", ")); + // LOGP(LOGLEVEL, " The following offers were owned by other users: {}", fmt::join(stats.otherUser, ", ")); } if (stats.expired.size()) { - // LOGP(LOGLEVEL, " The following offers are expired: {}", fmt::join(stats.expired, ", ")); + // LOGP(LOGLEVEL, " The following offers are expired: {}", fmt::join(stats.expired, ", ")); } if (stats.unexpiring.size() > 1) { - // LOGP(LOGLEVEL, " The following offers will never expire: {}", fmt::join(stats.unexpiring, ", ")); + // LOGP(LOGLEVEL, " The following offers will never expire: {}", fmt::join(stats.unexpiring, ", ")); } return enough;