X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStats.c;h=4920b4b88f0cd50f430b475f945be6dbbd88c229;hb=53386c359c55bd6eaa13c35fe174c9274ff5888e;hp=5d4f772396c4fad5720e640b678621d4b0caf4eb;hpb=11fcbaeb156ebb1a89cd5e05960c599d8dcf5924;p=ghc-hetmet.git diff --git a/ghc/rts/Stats.c b/ghc/rts/Stats.c index 5d4f772..4920b4b 100644 --- a/ghc/rts/Stats.c +++ b/ghc/rts/Stats.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stats.c,v 1.46 2002/08/19 16:02:26 simonmar Exp $ + * $Id: Stats.c,v 1.48 2004/08/13 13:10:45 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -14,12 +14,12 @@ #include "Rts.h" #include "RtsFlags.h" #include "RtsUtils.h" -#include "StoragePriv.h" #include "MBlock.h" #include "Schedule.h" #include "Stats.h" #include "ParTicky.h" /* ToDo: move into Rts.h */ #include "Profiling.h" +#include "Storage.h" #ifdef HAVE_UNISTD_H #include @@ -821,5 +821,5 @@ statDescribeGens(void) each compilation and expression evaluation. -------------------------------------------------------------------------- */ -extern HsInt getAllocations( void ) -{ return (HsInt)(total_allocated * sizeof(W_)); } +extern HsInt64 getAllocations( void ) +{ return (HsInt64)total_allocated * sizeof(W_); }