diff options
author | Thomas White <taw@physics.org> | 2019-03-07 16:42:09 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-07 16:42:09 +0100 |
commit | 166b4db3ba9a323553d4a25eae76725d59eb1141 (patch) | |
tree | b63c6d98beb20b3f0028dc929807d02e401edd6c /src/process_image.c | |
parent | fdd99e5c505bccf0500ccde3a33bf4cf9c98e2a0 (diff) |
indexamajig: Status message improvements
1. Show the number of hits
2. Keep producing updates while the last patterns are being processed
3. Don't duplicate the code for displaying the status messages
Diffstat (limited to 'src/process_image.c')
-rw-r--r-- | src/process_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c index a5418486..2f2eb698 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -451,6 +451,7 @@ out: } } sb_shared->n_processed++; + sb_shared->n_hits += image.hit; sb_shared->n_hadcrystals += any_crystals; pthread_mutex_unlock(&sb_shared->totals_lock); |