#4225: RTS -i (heap profiling interval) documentation could be clearer
--------------------------------+-------------------------------------------
Reporter: ClaudiusMaximus | Owner: simonmar
Type: bug | Status: closed
Priority: high | Milestone: 7.0.1
Component: Profiling | Version: 6.12.3
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Documentation bug |
--------------------------------+-------------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => fixed
Comment:
Fixed; I excluded GC time from the figures reported in the profile. This
makes the runtime in the profile mostly insensitive to the `-i` setting.
Also I found I needed to use a more accurate time source to measure CPU
time on POSIX systems:
{{{
Mon Sep 13 14:38:52 BST 2010 Simon Marlow <[email protected]>
* Don't include GC time in heap profiles (#4225)
Mon Sep 13 14:38:18 BST 2010 Simon Marlow <[email protected]>
* Use clock_gettime (if available) to measure the process CPU time
This is much more accurate than getrusage, which was giving misleading
results when trying to time very quick operations like a minor GC.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4225#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs