[libavg-users] CPU Utilization

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


> Come to think of it: There's another thread running that's responsible  
> for sound. Do things change if you call player.enableAudio(False)  
> before play()?

CPU use drops to about 75% solidly:

[10-02-04 07:50:53.210] EVENTS: KEYDOWN
[10-02-04 07:50:53.210] PROFILE: Profile Statistics (in us):
[10-02-04 07:50:53.210] PROFILE: Thread main
[10-02-04 07:50:53.210] PROFILE: Zone name                          Avg. time
[10-02-04 07:50:53.210] PROFILE: ---------                          ---------
[10-02-04 07:50:53.210] PROFILE: Player - Total frame time               5553
[10-02-04 07:50:53.210] PROFILE:   Player - handleTimers                    0
[10-02-04 07:50:53.210] PROFILE:   Player - dispatch events                14
[10-02-04 07:50:53.210] PROFILE:   Player - PreRender                       0
[10-02-04 07:50:53.210] PROFILE:   Player - render                       5529
[10-02-04 07:50:53.210] PROFILE:     Root node: render                   2909
[10-02-04 07:50:53.210] PROFILE:       pushClipRect                      1133
[10-02-04 07:50:53.210] PROFILE:       Words::render                      635
[10-02-04 07:50:53.210] PROFILE:       popClipRect                       1085
[10-02-04 07:50:53.210] PROFILE:     Render - wait                          0
[10-02-04 07:50:53.210] PROFILE:     Render - swap buffers               1059
[10-02-04 07:50:53.210] PROFILE:   Player - onFrameEnd                      1
[10-02-04 07:50:53.210] PROFILE: 
[10-02-04 07:50:53.210] PROFILE: Framerate statistics: 
[10-02-04 07:50:53.210] PROFILE:   Total frames: 5312
[10-02-04 07:50:53.210] PROFILE:   Total time: 33.938 seconds
[10-02-04 07:50:53.210] PROFILE:   Framerate achieved: 156.55
[10-02-04 07:50:53.210] PROFILE:   Frames too late: 0
[10-02-04 07:50:53.210] PROFILE:   Percent of time spent waiting: 27.0847
[10-02-04 07:50:53.210] PROFILE:   Framerate goal was: nan


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: 3575 bytes
Desc: not available
Url : http://mail.datenhain.de/pipermail/libavg-users/attachments/20100204/79e50c57/attachment-0001.bin 


More information about the libavg-users mailing list