X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=rts%2FRtsUtils.h;h=fea1d4191c4a1ed349ca8fca2531c48f17d617bf;hb=0f0a1585e442089357656b87144cd22abf478dda;hp=93139367b31c06b4de7cc5dc5a704c3869cbb25e;hpb=e3c55aebd4f9ce7a5b4390d4726612865fd207f2;p=ghc-hetmet.git diff --git a/rts/RtsUtils.h b/rts/RtsUtils.h index 9313936..fea1d41 100644 --- a/rts/RtsUtils.h +++ b/rts/RtsUtils.h @@ -13,6 +13,9 @@ * (Checked) dynamic allocation * -------------------------------------------------------------------------- */ +extern void initAllocator(void); +extern void shutdownAllocator(void); + extern void *stgMallocBytes(int n, char *msg) GNUC3_ATTRIBUTE(__malloc__); @@ -37,10 +40,6 @@ extern nat stg_strlen(char *str); extern char *time_str(void); extern char *ullong_format_string(ullong, char *, rtsBool); -#ifdef PAR -extern ullong msTime(void); -#endif - #ifdef DEBUG extern void heapCheckFail( void ); #endif @@ -48,4 +47,6 @@ extern void heapCheckFail( void ); extern void* __hscore_get_saved_termios(int fd); extern void __hscore_set_saved_termios(int fd, void* ts); +void printRtsInfo(void); + #endif /* RTSUTILS_H */