aboutsummaryrefslogtreecommitdiff
path: root/build2/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-28 09:51:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-28 09:51:04 +0200
commit5e417ea840d51c20295f8772e8b4655065071b7d (patch)
tree0a7fc6f33451480c12c64cde041482e9f828e459 /build2/operation.cxx
parente84eedc54348e268ca95200b70caede9884076ea (diff)
Tweak progress display
Diffstat (limited to 'build2/operation.cxx')
-rw-r--r--build2/operation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/operation.cxx b/build2/operation.cxx
index a5424bc..9d36838 100644
--- a/build2/operation.cxx
+++ b/build2/operation.cxx
@@ -111,14 +111,14 @@ namespace build2
mg = sched.monitor (
target_count,
- 20,
+ 10,
[&what] (size_t c) -> size_t
{
diag_progress_lock pl;
diag_progress = ' ';
diag_progress += to_string (c);
diag_progress += what;
- return c + 20;
+ return c + 10;
});
}
@@ -250,7 +250,7 @@ namespace build2
string what;
if (ops.progress ())
{
- what = "% " + diag_did (a);
+ what = "% of targets " + diag_did (a);
size_t init (target_count.load (memory_order_relaxed));
size_t incr (init / 100); // 1%.