/* -----------------------------------------------------------------------------
- * $Id: Stats.c,v 1.30 2001/07/08 17:04:04 sof Exp $
+ * $Id: Stats.c,v 1.32 2001/08/14 13:40:09 sewardj Exp $
*
* (c) The GHC Team, 1998-1999
*
*
* ---------------------------------------------------------------------------*/
-#define NON_POSIX_SOURCE
+/* Alas, no. This source is non-posix.
+ #include "PosixSource.h"
+*/
#include "Rts.h"
#include "RtsFlags.h"
Produce some detailed info on the state of the generational GC.
-------------------------------------------------------------------------- */
void
-stat_describe_gens(void)
+statDescribeGens(void)
{
nat g, s, mut, mut_once, lge, live;
StgMutClosure *m;
bdescr *bd;
step *step;
- fprintf(stderr, " Gen Steps Max Mutable Mut-Once Step Blocks Live Large\n Blocks Closures Closures Objects\n");
+ fprintf(stderr, " Gen Steps Max Mutable Mut-Once Step Blocks Live Large\n Blocks Closures Closures Objects\n");
for (g = 0; g < RtsFlags.GcFlags.generations; g++) {
for (m = generations[g].mut_list, mut = 0; m != END_MUT_LIST;
lge++;
live = 0;
if (RtsFlags.GcFlags.generations == 1) {
- bd = step->to_space;
+ bd = step->to_blocks;
} else {
bd = step->blocks;
}