summaryrefslogtreecommitdiff
path: root/rts/Stats.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-06-08 14:42:10 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-06-08 14:42:10 +0000
commit5a2769f0273dd389977e8283375e7920d183bdd4 (patch)
treecc5ffb1521eca3fb4f8c59ba649c8c16b852f125 /rts/Stats.h
parent3f10646cfe2c3409056a49d1ef1c4507af522573 (diff)
downloadhaskell-5a2769f0273dd389977e8283375e7920d183bdd4.tar.gz
New tracing interface
A simple interface for generating trace messages with timestamps and thread IDs attached to them. Most debugging output goes through this interface now, so it is straightforward to get timestamped debugging traces with +RTS -vt. Also, we plan to use this to generate parallelism profiles from the trace output.
Diffstat (limited to 'rts/Stats.h')
-rw-r--r--rts/Stats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Stats.h b/rts/Stats.h
index 20bc0155ad..9de6b718bb 100644
--- a/rts/Stats.h
+++ b/rts/Stats.h
@@ -52,5 +52,6 @@ void statDescribeGens( void );
HsInt64 getAllocations( void );
Ticks stat_getElapsedGCTime(void);
+Ticks stat_getElapsedTime(void);
#endif /* STATS_H */