Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7f906dc8
Commit
7f906dc8
authored
Feb 06, 2002
by
sof
Browse files
[project @ 2002-02-06 01:21:40 by sof]
make stat_getElapsedTime(), SMP-only again
parent
0fee0e07
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Stats.c
View file @
7f906dc8
/* -----------------------------------------------------------------------------
* $Id: Stats.c,v 1.4
3
2002/02/0
4 20:12:08
sof Exp $
* $Id: Stats.c,v 1.4
4
2002/02/0
6 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
();
...
...
ghc/rts/Stats.h
View file @
7f906dc8
/* -----------------------------------------------------------------------------
* $Id: Stats.h,v 1.1
6
2002/02/0
4 20:12:09
sof Exp $
* $Id: Stats.h,v 1.1
7
2002/02/0
6 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment