diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-12-07T15·09+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-12-07T15·09+0100 |
commit | b07060688a298abe765bca4258de4c675b24a364 (patch) | |
tree | 7f44131fa022886fb78576443eba0a3b79d14b60 /src/libstore/store-api.hh | |
parent | dadfddfa7cb5d523969bffd906b74099d6a88387 (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.hh | 4 |
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; |