[libavg-users] CPU Utilization

Alex Harrington alex at longhill.org.uk
Thu Feb 4 08:43:52 CET 2010


>> Still no clean exit though on escape.
>
>
> I can have a look at what's happening there if you start the program  
> in gdb, hit ctrl-C when it hangs and send me a stack trace.

I tried to attach gdb as usual. When I press escape I get:
[10-02-04 07:42:46.974] EVENTS: KEYDOWN
[10-02-04 07:42:46.974] PROFILE: Profile Statistics (in us):
[10-02-04 07:42:46.974] PROFILE: Thread main
[10-02-04 07:42:46.974] PROFILE: Zone name                          Avg. time
[10-02-04 07:42:46.974] PROFILE: ---------                          ---------
[10-02-04 07:42:46.974] PROFILE: Player - Total frame time               6938
[10-02-04 07:42:46.974] PROFILE:   Player - handleTimers                    0
[10-02-04 07:42:46.974] PROFILE:   Player - dispatch events                16
[10-02-04 07:42:46.974] PROFILE:   Player - PreRender                       0
[10-02-04 07:42:46.974] PROFILE:   Player - render                       6908
[10-02-04 07:42:46.974] PROFILE:     Root node: render                   2909
[10-02-04 07:42:46.974] PROFILE:       pushClipRect                      1129
[10-02-04 07:42:46.974] PROFILE:       Words::render                      621
[10-02-04 07:42:46.974] PROFILE:       popClipRect                       1074
[10-02-04 07:42:46.974] PROFILE:     Render - wait                          0
[10-02-04 07:42:46.974] PROFILE:     Render - swap buffers               2090
[10-02-04 07:42:46.974] PROFILE:   Player - onFrameEnd                      1
[10-02-04 07:42:46.974] PROFILE: 
[10-02-04 07:42:46.974] PROFILE: Framerate statistics: 
[10-02-04 07:42:46.974] PROFILE:   Total frames: 1610
[10-02-04 07:42:46.974] PROFILE:   Total time: 11.8379 seconds
[10-02-04 07:42:46.974] PROFILE:   Framerate achieved: 136.089
[10-02-04 07:42:46.974] PROFILE:   Frames too late: 0
[10-02-04 07:42:46.974] PROFILE:   Percent of time spent waiting: 33.8211
[10-02-04 07:42:46.974] PROFILE:   Framerate goal was: nan

However there's no Seg Fault. How do I get a backtrace from there?

> make check exits cleanly? Strange.

Yes - it does.

Cheers

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3699 bytes
Desc: not available
Url : http://mail.datenhain.de/pipermail/libavg-users/attachments/20100204/8c9079b6/attachment.bin 


More information about the libavg-users mailing list