logo       

[GHC] #664: Heap profiler can report hundredths of a second as "3.100" (not: msg#00139

lang.haskell.glasgow.bugs

Subject: [GHC] #664: Heap profiler can report hundredths of a second as "3.100" (not "4.000")

#664: Heap profiler can report hundredths of a second as "3.100" (not "4.000")
--------------------------+-------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Profiling | Version: 6.4
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
--------------------------+-------------------------------------------------
When running "program +RTS -p -hc", I occasionally have problems with
hp2ps because of "samples out of sequence". This appears to be caused by
erroneous reporting of hundredths of a second in the program.hp file. An
example:

{{{
BEGIN_SAMPLE 13.90
(158)/mainMain.CAF 24
(163)/replace/output/mainM... 600036
(156)GC 12
(169)/pairsMain.CAF 276
(159)/output/mainMain.CAF 84
(168)/replaceIubsMain.CAF 96
(88)GHC.Handle.CAF 140
(170)/replace/replaceIubsM... 632392
END_SAMPLE 13.90
'''BEGIN_SAMPLE 13.100'''
(158)/mainMain.CAF 24
(163)/replace/output/mainM... 600036
(156)GC 12
(169)/pairsMain.CAF 276
(159)/output/mainMain.CAF 84
(168)/replaceIubsMain.CAF 96
(88)GHC.Handle.CAF 140
(170)/replace/replaceIubsM... 633052
'''END_SAMPLE 13.100'''
BEGIN_SAMPLE 14.09
(158)/mainMain.CAF 24
(163)/replace/output/mainM... 600036
(156)GC 12
(169)/pairsMain.CAF 276
(159)/output/mainMain.CAF 84
(168)/replaceIubsMain.CAF 96
(88)GHC.Handle.CAF 140
(170)/replace/replaceIubsM... 633880
END_SAMPLE 14.09
}}}

In the above example, 14 seconds is reported as 13.100 seconds.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/664>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise