[GHC] #13492: -p option report much less time than actual on high intensity of FFI calls application
GHC
ghc-devs at haskell.org
Fri May 12 22:23:43 UTC 2017
#13492: -p option report much less time than actual on high intensity of FFI calls
application
-------------------------------------+-------------------------------------
Reporter: varosi | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Profiling | Version: 8.0.2
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64
Type of failure: Debugging | (amd64)
information is incorrect | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
The cost-center profiler only measures the time spent in the mutator (that
is, actually doing Haskell evaluation). It will not report time spent in
FFI calls. For that you will need to use your platform's native profiler.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13492#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list