stats are comparatively cheap, run them even when the engine doesn't run.
Yields more accurate stat output, where we can see a staircase effect on the queue when the engine is run not that often, and Built actually go up until it goes back down again.
This commit is contained in:
parent
0480572476
commit
59ee0568e8
@ -1,5 +1,5 @@
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Engine.pm,v 1.64 2012/12/30 14:33:46 espie Exp $
|
||||
# $OpenBSD: Engine.pm,v 1.65 2013/01/02 11:13:52 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -702,6 +702,7 @@ sub check_buildable
|
||||
$self->{buildable}->count > 0) {
|
||||
print $temp "-\n";
|
||||
$self->{unchecked} = 1;
|
||||
$self->stats;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user