#1933: Zero times in profiling with GHC-6.8.1
-------------------------------+--------------------------------------------
Reporter: daniel.is.fischer | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: Profiling | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
-------------------------------+--------------------------------------------
Comment (by simonmar):
(the patch was a darcs patch, sorry for not mentioning that)
Ok, could you possibly investigate this manually? It's pretty hard to
debug it remotely. To experiment, you can just cut out the test program
from `aclocal.m4` and play with it separately.
Clearly something is not working with `timer_create()` on your system, we
need to figure out what it is, and write a configure test that detects the
problem. One thing you could try is modifying the test to test the
`CLOCK_PROCESS_CPUTIME_ID` timer instead of the `CLOCK_REALTIME` timer,
but you'll need to add a cpu-time-consuming loop into the code.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1933#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs