summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-04 13:23:50 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-04 19:31:22 +0200
commitef9b8b97a402e673929ea54dcf2bc8d2e0428037 (patch)
tree55cbf52962d6d548231318294aa903e52d30c640 /src/buildtool/execution_engine
parentc22ddd7f8c1ddc3682e5c3c0abe9e90f598a399b (diff)
downloadjustbuild-ef9b8b97a402e673929ea54dcf2bc8d2e0428037.tar.gz
statistics: also count completed uncached actions
Diffstat (limited to 'src/buildtool/execution_engine')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp3
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 94c32b1f..9caa7bee 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -261,6 +261,9 @@ class ExecutorImpl {
logger.Emit(LogLevel::Trace, " - served from cache");
Statistics::Instance().IncrementActionsCachedCounter();
}
+ else {
+ Statistics::Instance().IncrementActionsExecutedCounter();
+ }
PrintInfo(logger, action->Command(), response);
bool should_fail_outputs = false;