Commit 46dfa530 authored by simonm's avatar simonm
Browse files

[project @ 1999-02-03 16:42:18 by simonm]

Fix GC stats printing.
parent 8d0e9847
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: Stats.c,v 1.4 1999/02/02 14:21:32 simonm Exp $ * $Id: Stats.c,v 1.5 1999/02/03 16:42:18 simonm Exp $
* *
* Statistics and timing-related functions. * Statistics and timing-related functions.
* *
...@@ -410,7 +410,7 @@ stat_describe_gens(void) ...@@ -410,7 +410,7 @@ stat_describe_gens(void)
for (m = generations[g].mut_once_list, mut_once = 0; m != END_MUT_LIST; for (m = generations[g].mut_once_list, mut_once = 0; m != END_MUT_LIST;
m = m->mut_link) m = m->mut_link)
mut_once++; mut_once++;
fprintf(stderr, "%8d %8d %8d %9d %8d", g, generations[g].n_steps, fprintf(stderr, "%8d %8d %8d %9d %9d", g, generations[g].n_steps,
generations[g].max_blocks, mut, mut_once); generations[g].max_blocks, mut, mut_once);
for (s = 0; s < generations[g].n_steps; s++) { for (s = 0; s < generations[g].n_steps; s++) {
...@@ -422,7 +422,7 @@ stat_describe_gens(void) ...@@ -422,7 +422,7 @@ stat_describe_gens(void)
live += (bd->free - bd->start) * sizeof(W_); live += (bd->free - bd->start) * sizeof(W_);
} }
if (s != 0) { if (s != 0) {
fprintf(stderr,"%36s",""); fprintf(stderr,"%46s","");
} }
fprintf(stderr,"%6d %8d %8d %8d\n", s, step->n_blocks, fprintf(stderr,"%6d %8d %8d %8d\n", s, step->n_blocks,
live, lge); live, lge);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment