about summary refs log tree commit diff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-12-07T15·09+0100
committerEelco Dolstra <edolstra@gmail.com>2016-12-07T15·09+0100
commitb07060688a298abe765bca4258de4c675b24a364 (patch)
tree7f44131fa022886fb78576443eba0a3b79d14b60 /src/libstore/store-api.hh
parentdadfddfa7cb5d523969bffd906b74099d6a88387 (diff)
Keep track of the exact build start/stop times
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh4
1 files changed, 3 insertions, 1 deletions
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;