Commit f6ee1f31 authored by Simon Marlow's avatar Simon Marlow
Browse files

Make getAllocations() visible

parent 51b85031
......@@ -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
......
......@@ -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 */
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