aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-08-22 10:46:38 +0200
committerThomas White <taw@physics.org>2013-08-26 16:45:05 +0200
commit5ffa6e9537d968f2a61e1d0efc8140ab2021991a (patch)
treec721bf51d9f0264ce768fcac5e885e91912d04f7 /src/im-sandbox.c
parente4c995d82cd5348dbdb9dbb9f732b2c357df6b6f (diff)
Display indexing yield as a percentage
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index d1230f0c..b7e5c368 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -864,10 +864,11 @@ void create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
tNow = get_monotonic_seconds();
if ( tNow >= sb->t_last_stats+STATS_EVERY_N_SECONDS ) {
- STATUS("%4i indexable out of %4i processed, "
+ STATUS("%4i indexable out of %4i processed (%4.1f%%), "
"%4i crystals so far. "
"%4i images processed since the last message.\n",
sb->n_hadcrystals, sb->n_processed,
+ (double)sb->n_hadcrystals / sb->n_processed,
sb->n_crystals,
sb->n_processed - sb->n_processed_last_stats);