summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_response.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/local/local_response.hpp')
-rw-r--r--src/buildtool/execution_api/local/local_response.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/local/local_response.hpp b/src/buildtool/execution_api/local/local_response.hpp
index 60d37ae5..5c0dcd0a 100644
--- a/src/buildtool/execution_api/local/local_response.hpp
+++ b/src/buildtool/execution_api/local/local_response.hpp
@@ -77,6 +77,10 @@ class LocalResponse final : public IExecutionResponse {
}
auto IsCached() const noexcept -> bool final { return output_.is_cached; };
+ auto ExecutionDuration() noexcept -> double final {
+ return output_.duration;
+ }
+
auto ActionDigest() const noexcept -> std::string const& final {
return action_id_;
}