23 Aug
2010
23 Aug
'10
9:11 p.m.
Hi, I'd like to profile a GLUT application. After a run of the application with the +RTS -p flag, the .prof file is actually created but is always empty. Does someone have a clue of what's going on? Would it be related to my application calling GLUT's leaveMainLoop to exit? Thanks, Thu
23 Aug
23 Aug
9:24 p.m.
2010/8/23 Vo Minh Thu
Hi,
I'd like to profile a GLUT application. After a run of the application with the +RTS -p flag, the .prof file is actually created but is always empty.
Does someone have a clue of what's going on? Would it be related to my application calling GLUT's leaveMainLoop to exit?
Yes, the problem is the default behavior of leaveMainLoop. Setting actionOnWindowClose $= MainLoopReturns does the trick. Cheers, Thu
5624
Age (days ago)
5624
Last active (days ago)
1 comments
1 participants
participants (1)
-
Vo Minh Thu