aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-25 14:49:59 +0200
committerThomas White <taw@physics.org>2014-08-25 14:50:35 +0200
commitcb7fbc75669d74c46a453c3a3c24ef701455b75f (patch)
tree7b03c89eebdd5358f482d4e647a260aa336f62f0 /src/im-sandbox.c
parent922dec7601a54faac4b475bad9ebb5f74c30b61a (diff)
Report final indexing percentage
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 7305dfd4..42e4a090 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -940,8 +940,9 @@ void create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
pthread_mutex_destroy(&sb->lock);
STATUS("Final:"
- " %i images processed, %i had crystals, %i crystals overall.\n",
- sb->n_processed, sb->n_hadcrystals, sb->n_crystals);
+ " %i images processed, %i had crystals (%.1f%%), %i crystals overall.\n",
+ sb->n_processed, sb->n_hadcrystals,
+ 100.0 * sb->n_hadcrystals / sb->n_processed, sb->n_crystals);
free(sb);
}