[GHC] #2140: cpuTimePrecision is wrong for me on Windows (XP)

GHC trac at galois.com
Thu Mar 6 06:59:02 EST 2008


#2140: cpuTimePrecision is wrong for me on Windows (XP)
-------------------------------+--------------------------------------------
    Reporter:  guest           |       Owner:                
        Type:  bug             |      Status:  new           
    Priority:  normal          |   Component:  libraries/base
     Version:  6.8.2           |    Severity:  normal        
    Keywords:                  |    Testcase:                
Architecture:  x86_64 (amd64)  |          Os:  Windows       
-------------------------------+--------------------------------------------
 (From Adrian Hey)

 Looking at the source code, this seems to be fixed
 at 1000000000 independent of hardware. I'm not sure
 if this is supposed to be the same on all Windows XP systems, but it's
 wrong on my machine at least.

 getCPUTime always returns a multiple of 15625000000

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


More information about the Glasgow-haskell-bugs mailing list