#5282: Bizarre results from -P profiler on OS X
-------------------------------+--------------------------------------------
    Reporter:  bos             |        Owner:                             
        Type:  bug             |       Status:  new                        
    Priority:  high            |    Milestone:  7.2.1                      
   Component:  Runtime System  |      Version:  7.0.3                      
    Keywords:                  |     Testcase:                             
   Blockedby:                  |   Difficulty:                             
          Os:  MacOS X         |     Blocking:                             
Architecture:  x86_64 (amd64)  |      Failure:  Incorrect result at runtime
-------------------------------+--------------------------------------------

Comment(by strake):

 I can realize this on Linux 2.6.38, with GHC 7.0.3; however, the number of
 ticks is not just low, but zero.

 {{{$ ./program +RTS -P -RTS}}}

 program.prof, in part:
 {{{
 total time  =        0.00 secs   (0 ticks @ 20 ms)
 total alloc =      10,600 bytes  (excludes profiling overheads)
 }}}

 The problem vanishes when compiled threaded, and the number of ticks is
 reasonable.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5282#comment:10>
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

Reply via email to