From ef9b8b97a402e673929ea54dcf2bc8d2e0428037 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 4 Apr 2022 13:23:50 +0200 Subject: statistics: also count completed uncached actions --- src/buildtool/execution_engine/executor/executor.hpp | 3 +++ 1 file changed, 3 insertions(+) (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 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; -- cgit v1.2.3