1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 02:11:15 +02:00

Keep track of the exact build start/stop times

This commit is contained in:
Eelco Dolstra 2016-12-07 16:09:38 +01:00
parent dadfddfa7c
commit b07060688a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 8 additions and 2 deletions

View file

@ -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;