Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f6ee1f31
Commit
f6ee1f31
authored
Jun 17, 2010
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make getAllocations() visible
parent
51b85031
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
includes/rts/storage/GC.h
includes/rts/storage/GC.h
+7
-0
rts/Stats.h
rts/Stats.h
+0
-2
No files found.
includes/rts/storage/GC.h
View file @
f6ee1f31
...
...
@@ -174,6 +174,13 @@ void revertCAFs (void);
// Request that all CAFs are retained indefinitely.
void
setKeepCAFs
(
void
);
/* -----------------------------------------------------------------------------
Stats
-------------------------------------------------------------------------- */
// Returns the total number of bytes allocated since the start of the program.
HsInt64
getAllocations
(
void
);
/* -----------------------------------------------------------------------------
This is the write barrier for MUT_VARs, a.k.a. IORefs. A
MUT_VAR_CLEAN object is not on the mutable list; a MUT_VAR_DIRTY
...
...
rts/Stats.h
View file @
f6ee1f31
...
...
@@ -61,8 +61,6 @@ Ticks stat_getElapsedTime(void);
void
statsPrintf
(
char
*
s
,
...
)
GNUC3_ATTRIBUTE
(
format
(
printf
,
1
,
2
));
HsInt64
getAllocations
(
void
);
#include "EndPrivate.h"
#endif
/* STATS_H */
Write
Preview
Markdown
is supported
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