Skip to content

Commit

Permalink
Print total number of collect runs in stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Feb 2, 2011
1 parent 12c257e commit 85173f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/gc_gms.c
Expand Up @@ -2027,7 +2027,7 @@ gc_gms_print_stats(PARROT_INTERP, ARGIN(const char* header), int gen)
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;
size_t i;

fprintf(stderr, "%s\ngen: %d\n", header, gen);
fprintf(stderr, "%s\ntotal: %d\ngen: %d\n", header, interp->gc_sys->stats.gc_mark_runs, gen);

#ifndef NDEBUG
fprintf(stderr, "dirty: %d\nwork: %d\n",
Expand Down

0 comments on commit 85173f3

Please sign in to comment.