[GHC] #769: Heap profiling: time tag format

GHC trac at galois.com
Wed May 10 18:12:01 EDT 2006


#769: Heap profiling: time tag format
--------------------------+-------------------------------------------------
  Reporter:  guest        |          Owner:                
      Type:  bug          |         Status:  new           
  Priority:  normal       |      Milestone:                
 Component:  Compiler     |        Version:  6.4.2         
  Severity:  normal       |       Keywords:  heap profiling
Difficulty:  Easy (1 hr)  |   Architecture:  Unknown       
        Os:  Multiple     |  
--------------------------+-------------------------------------------------
If you enable heap profiling and then use hp2ps to generate a graph it
 occasionally reports records out of order.  The reason is the time tag at
 the beginning and end of each record, which is printed with two decimal
 places.  When the time reaches an integer number of seconds it is printed
 as e.g. 6.100 instead of 7.00.  hp2ps interprets this as 6.1 seconds.

 This applies to at least 6.4, 6.4.1 and 6.4.2.  I've seen it on Windows,
 but I expect it applies to other OSes as well.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/769>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list