diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-08-21 09:48:22 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-08-21 10:00:06 +0100 |
commit | bb120dfda517b43e050fb628c7729469f4bc1f07 (patch) | |
tree | 7b5feee6448165585995a8bc0ed58913237338b4 /includes | |
parent | 106f0434144199276add8860c146c542cc67513b (diff) | |
download | haskell-bb120dfda517b43e050fb628c7729469f4bc1f07.tar.gz |
move startProfTimer() and stopProfTimer() to the public headers
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/prof/CCS.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/rts/prof/CCS.h b/includes/rts/prof/CCS.h index e6c746b4bc..37285672b8 100644 --- a/includes/rts/prof/CCS.h +++ b/includes/rts/prof/CCS.h @@ -78,6 +78,15 @@ typedef struct CostCentreStack_ { /* ----------------------------------------------------------------------------- + * Start and stop the profiling timer. These can be called from + * Haskell to restrict the profile to portion(s) of the execution. + * See the module GHC.Profiling. + * ---------------------------------------------------------------------------*/ + +void stopProfTimer ( void ); +void startProfTimer ( void ); + +/* ----------------------------------------------------------------------------- * The rest is PROFILING only... * ---------------------------------------------------------------------------*/ |