aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index b73a0d6..ba84b1c 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -1393,9 +1393,10 @@ main (int argc, char* argv[])
//
assert (st.task_queue_remain == 0);
- if (verb >= (st.thread_max_active > 1 ? 3 : 4))
+ if (ops.stat ())
{
- info << "scheduler statistics:" << "\n\n"
+ text << '\n'
+ << "build statistics:" << "\n\n"
<< " thread_max_active " << st.thread_max_active << '\n'
<< " thread_max_total " << st.thread_max_total << '\n'
<< " thread_helpers " << st.thread_helpers << '\n'