[project @ 2005-07-25 14:03:06 by simonmar]
[ghc-hetmet.git] / ghc / rts / Stats.h
index c3efd36..e6f746b 100644 (file)
@@ -11,7 +11,7 @@ extern void      stat_endInit(void);
 
 extern void      stat_startGC(void);
 extern void      stat_endGC(lnat alloc, lnat collect, lnat live, 
-                           lnat copied, lnat gen);
+                           lnat copied, lnat scavd_copied, lnat gen);
 
 #ifdef PROFILING
 extern void      stat_startRP(void);
@@ -20,7 +20,7 @@ extern void      stat_endRP(nat,
                             nat, int, 
 #endif
                             double);
-#endif // PROFILING
+#endif /* PROFILING */
 
 #if defined(PROFILING) || defined(DEBUG)
 extern void      stat_startHeapCensus(void);
@@ -41,11 +41,11 @@ extern double    mut_user_time(void);
 #ifdef PROFILING
 extern double    mut_user_time_during_RP(void);
 extern double    mut_user_time_during_heap_census(void);
-#endif // PROFILING
+#endif /* PROFILING */
 
 extern void      statDescribeGens( void );
 extern HsInt64   getAllocations( void );
 
-#if defined(SMP)
-extern long int  stat_getElapsedTime ( void );
-#endif
+extern void      stat_getTimes ( long *currentElapsedTime, 
+                                long *currentUserTime,
+                                long *elapsedGCTime );