diff options
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index c08a6a2c..9ef38488 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -19,6 +19,7 @@ #include "src/buildtool/execution_engine/dag/dag.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/logging/logger.hpp" +#include "src/buildtool/progress_reporting/progress.hpp" /// \brief Implementations for executing actions and uploading artifacts. class ExecutorImpl { @@ -53,6 +54,7 @@ class ExecutorImpl { return std::nullopt; } + Progress::Instance().Start(action->Content().Id()); Statistics::Instance().IncrementActionsQueuedCounter(); logger.Emit(LogLevel::Trace, [&inputs]() { @@ -290,6 +292,7 @@ class ExecutorImpl { else { Statistics::Instance().IncrementActionsExecutedCounter(); } + Progress::Instance().Stop(action->Content().Id()); PrintInfo(logger, action->Command(), response); bool should_fail_outputs = false; |