diff options
author | Thomas White <taw@physics.org> | 2014-08-25 14:49:59 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-08-25 14:50:35 +0200 |
commit | cb7fbc75669d74c46a453c3a3c24ef701455b75f (patch) | |
tree | 7b03c89eebdd5358f482d4e647a260aa336f62f0 /src/im-sandbox.c | |
parent | 922dec7601a54faac4b475bad9ebb5f74c30b61a (diff) |
Report final indexing percentage
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 5 |
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); } |