[project @ 2002-02-06 01:21:40 by sof]
authorsof <unknown>
Wed, 6 Feb 2002 01:21:41 +0000 (01:21 +0000)
committersof <unknown>
Wed, 6 Feb 2002 01:21:41 +0000 (01:21 +0000)
make stat_getElapsedTime(), SMP-only again

ghc/rts/Stats.c
ghc/rts/Stats.h

index 9002164..5052e26 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Stats.c,v 1.43 2002/02/04 20:12:08 sof Exp $
+ * $Id: Stats.c,v 1.44 2002/02/06 01:21:40 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -601,7 +601,7 @@ stat_workerStop(void)
 }
 #endif
 
-#if defined(RTS_SUPPORTS_THREADS)
+#if defined(SMP)
 long int stat_getElapsedTime ()
 {
   getTimes();
index 7365f54..626eb07 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Stats.h,v 1.16 2002/02/04 20:12:09 sof Exp $
+ * $Id: Stats.h,v 1.17 2002/02/06 01:21:41 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -47,6 +47,6 @@ extern double    mut_user_time_during_heap_census(void);
 extern void      statDescribeGens( void );
 extern HsInt     getAllocations( void );
 
-#if defined(RTS_SUPPORTS_THREADS)
+#if defined(SMP)
 extern long int  stat_getElapsedTime ( void );
 #endif