Commit 86ba7701 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Make startProfTimer and stopProfTimer available via GHC.Profiling

This allows the programmer to profile only part of a program's runtime,
for example, ignoring startup and shutdown phases of programs.
parent 54fccb52
module GHC.Profiling where
foreign import ccall startProfTimer :: IO ()
foreign import ccall stopProfTimer :: IO ()
......@@ -92,6 +92,7 @@ Library {
GHC.Num,
GHC.PArr,
GHC.Pack,
GHC.Profiling,
GHC.Ptr,
GHC.Read,
GHC.Real,
......
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