X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FProfiling.h;h=d968349a527cefe6500dd26e3341504f2ff139fb;hb=6a710247bc1a7b9bced7a4e6f143de91eb4f9552;hp=7cc38df79e1e6c14dfb65d75a946535a3d1cb64b;hpb=80164adadb52f16b557e283ac4cd3810848d7561;p=ghc-hetmet.git diff --git a/ghc/rts/Profiling.h b/ghc/rts/Profiling.h index 7cc38df..d968349 100644 --- a/ghc/rts/Profiling.h +++ b/ghc/rts/Profiling.h @@ -1,12 +1,16 @@ /* ----------------------------------------------------------------------------- - * $Id: Profiling.h,v 1.5 2002/07/18 09:12:03 simonmar Exp $ * - * (c) The GHC Team, 1998-2000 + * (c) The GHC Team, 1998-2005 * * Support for profiling * * ---------------------------------------------------------------------------*/ +#ifndef PROFILING_H +#define PROFILING_H + +#include + #if defined(PROFILING) || defined(DEBUG) void initProfiling1 ( void ); void initProfiling2 ( void ); @@ -23,8 +27,13 @@ void reportCCSProfiling ( void ); void PrintNewStackDecls ( void ); -extern lnat total_prof_ticks; - extern void fprintCCS( FILE *f, CostCentreStack *ccs ); +extern void fprintCCS_stderr( CostCentreStack *ccs ); +#ifdef DEBUG +extern void debugCCS( CostCentreStack *ccs ); #endif + +#endif + +#endif /* PROFILING_H */