mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 21:16:02 +01:00
Keep track of the exact build start/stop times
This commit is contained in:
parent
dadfddfa7c
commit
b07060688a
3 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue