From f1a6f1161d7a63a3e011547a061ae73807887741 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 25 Feb 2019 20:56:35 +0000 Subject: [PATCH] Link graph schedule: Adjust debug logging --- src/linkgraph/linkgraphschedule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/linkgraph/linkgraphschedule.cpp b/src/linkgraph/linkgraphschedule.cpp index f27053da6a..0be9c54278 100644 --- a/src/linkgraph/linkgraphschedule.cpp +++ b/src/linkgraph/linkgraphschedule.cpp @@ -288,7 +288,8 @@ void LinkGraphJobGroup::JoinThread() { DateTicks bucket_join_date = 0; auto flush_bucket = [&]() { if (!bucket_cost) return; - DEBUG(linkgraph, 2, "LinkGraphJobGroup::ExecuteJobSet: Creating Job Group: jobs: " PRINTF_SIZE ", cost: %u", bucket.size(), bucket_cost); + DEBUG(linkgraph, 2, "LinkGraphJobGroup::ExecuteJobSet: Creating Job Group: jobs: " PRINTF_SIZE ", cost: %u, join after: %d", + bucket.size(), bucket_cost, bucket_join_date - ((_date * DAY_TICKS) + _date_fract)); auto group = std::make_shared(constructor_token(), std::move(bucket)); group->SpawnThread(); bucket_cost = 0;