From b07060688a298abe765bca4258de4c675b24a364 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 Dec 2016 16:09:38 +0100 Subject: Keep track of the exact build start/stop times --- src/libstore/store-api.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libstore/store-api.hh') diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index ee2b6b2862b6..789526cc2b70 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -218,7 +218,9 @@ struct BuildResult non-determinism.) */ bool isNonDeterministic = false; - //time_t startTime = 0, stopTime = 0; + /* The start/stop times of the build (or one of the rounds, if it + was repeated). */ + time_t startTime = 0, stopTime = 0; bool success() { return status == Built || status == Substituted || status == AlreadyValid; -- cgit 1.4.1