From 5fae72fa842f2df805ccfcdee302debfee7a7b03 Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Thu, 23 Feb 2023 14:54:54 +0100 Subject: Progress reporting: Extract generic logic from just progress class --- src/buildtool/execution_engine/executor/executor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/execution_engine/executor/executor.hpp') diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index cd9246ba..baf0be12 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -88,7 +88,7 @@ class ExecutorImpl { // do not count statistics for rebuilder fetching from cache if (cache_flag != IExecutionAction::CacheFlag::FromCacheOnly) { - Progress::Instance().Start(action->Content().Id()); + Progress::Instance().TaskTracker().Start(action->Content().Id()); Statistics::Instance().IncrementActionsQueuedCounter(); } @@ -459,7 +459,7 @@ class ExecutorImpl { else { Statistics::Instance().IncrementActionsExecutedCounter(); } - Progress::Instance().Stop(action->Content().Id()); + Progress::Instance().TaskTracker().Stop(action->Content().Id()); PrintInfo(logger, action->Command(), response); bool should_fail_outputs = false; -- cgit v1.2.3