From bbb0ead7e82edd3081ebd9243655b851b0ab4779 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Apr 2018 13:46:57 +0200 Subject: Don't print scheduler statistics at verbosity level 2, add --stat instead --- build2/b.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build2/b.cxx') 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' -- cgit v1.1