Commit 7f906dc8 authored by sof's avatar sof

[project @ 2002-02-06 01:21:40 by sof]

make stat_getElapsedTime(), SMP-only again
parent 0fee0e07
/* -----------------------------------------------------------------------------
* $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();
......
/* -----------------------------------------------------------------------------
* $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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment