diff options
author | Sascha Roloff <sascha.roloff@huawei.com> | 2023-02-23 14:54:54 +0100 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2023-02-27 13:27:57 +0100 |
commit | 5fae72fa842f2df805ccfcdee302debfee7a7b03 (patch) | |
tree | 27c516f595f8771ef68bb23c12c99f135f445188 /src/buildtool/execution_engine/executor | |
parent | a16593272c497b60a3cccad7fe5b9c7b2eede11b (diff) | |
download | justbuild-5fae72fa842f2df805ccfcdee302debfee7a7b03.tar.gz |
Progress reporting: Extract generic logic from just progress class
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |