aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-05-22 13:53:47 +0200
committerThomas White <taw@physics.org>2014-05-22 13:53:47 +0200
commit1ab22e9f2961ff6f674c58d56459922dbbfea8e7 (patch)
tree1e417ef6d940746f1ed9fe75f55111d522859a9d /src
parent841f5ab4a7875d0b48e1a52c2dfb3919705cc020 (diff)
cell_explorer: Report number of loaded cells less often
Diffstat (limited to 'src')
-rw-r--r--src/cell_explorer.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index d55deb2b..93f4a26f 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -1319,10 +1319,14 @@ int main(int argc, char *argv[])
}
- fprintf(stderr, "Loaded %i cells from %i chunks\r", w.n_cells,
- ++n_chunks);
+ n_chunks++;
+ if ( n_chunks % 1000 == 0 ) {
+ fprintf(stderr, "Loaded %i cells from %i chunks\r",
+ w.n_cells, n_chunks);
+ }
} while ( 1 );
+ fprintf(stderr, "Loaded %i cells from %i chunks\n", w.n_cells, n_chunks);
fprintf(stderr, "\n");