Skip to content

Commit 2be844a

Browse files
committed
Please consider the following formatting changes
1 parent 1a7af0d commit 2be844a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Framework/Core/src/ComputingQuotaEvaluator.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ bool ComputingQuotaEvaluator::selectOffer(int task, ComputingQuotaRequest const&
9797
result.size(), totalOffer.cpu, totalOffer.memory, totalOffer.sharedMemory);
9898
for (auto& offer : result) {
9999
// We pretend each offer id is a pointer, to have a unique id.
100-
O2_SIGNPOST_ID_FROM_POINTER(oid, quota, (void*)(int64_t)(offer*8));
100+
O2_SIGNPOST_ID_FROM_POINTER(oid, quota, (void*)(int64_t)(offer * 8));
101101
O2_SIGNPOST_START(quota, oid, "offers", "Offer %d has been selected.", offer);
102102
}
103103
dpStats.updateStats({static_cast<short>(ProcessingStatsId::RESOURCES_SATISFACTORY), DataProcessingStats::Op::Add, 1});
@@ -224,7 +224,7 @@ void ComputingQuotaEvaluator::dispose(int taskId)
224224
continue;
225225
}
226226
if (offer.sharedMemory <= 0) {
227-
O2_SIGNPOST_ID_FROM_POINTER(oid, quota, (void*)(int64_t)(oi*8));
227+
O2_SIGNPOST_ID_FROM_POINTER(oid, quota, (void*)(int64_t)(oi * 8));
228228
O2_SIGNPOST_END(quota, oid, "offers", "Offer %d back to not needed.", oi);
229229
offer.valid = false;
230230
offer.score = OfferScore::Unneeded;
@@ -269,7 +269,7 @@ void ComputingQuotaEvaluator::handleExpired(std::function<void(ComputingQuotaOff
269269
/// to the driver.
270270
for (auto& ref : mExpiredOffers) {
271271
auto& offer = mOffers[ref.index];
272-
O2_SIGNPOST_ID_FROM_POINTER(oid, quota, (void*)(int64_t)(ref.index*8));
272+
O2_SIGNPOST_ID_FROM_POINTER(oid, quota, (void*)(int64_t)(ref.index * 8));
273273
if (offer.sharedMemory < 0) {
274274
O2_SIGNPOST_END(quota, oid, "handleExpired", "Offer %d does not have any more memory. Marking it as invalid.", ref.index);
275275
offer.valid = false;

0 commit comments

Comments
 (0)