[libavg-users] CPU Utilization
Alex Harrington
alex at longhill.org.uk
Tue Feb 2 12:57:38 CET 2010
> Maybe the machine is busy waiting? What happens if you set framerate
> to 1000?
Incidently setting the framerate to 60 on this machine does achieve some improvement. CPU sits aroun 120% with the following profile:
[10-02-02 12:04:20.435] PROFILE: Profile Statistics (in us):
[10-02-02 12:04:20.435] PROFILE: Thread main
[10-02-02 12:04:20.435] PROFILE: Zone name Avg. time
[10-02-02 12:04:20.435] PROFILE: --------- ---------
[10-02-02 12:04:20.435] PROFILE: Player - Total frame time 19047
[10-02-02 12:04:20.435] PROFILE: Player - handleTimers 0
[10-02-02 12:04:20.435] PROFILE: Player - dispatch events 17
[10-02-02 12:04:20.435] PROFILE: Player - PreRender 0
[10-02-02 12:04:20.435] PROFILE: Player - render 19022
[10-02-02 12:04:20.435] PROFILE: Root node: render 3124
[10-02-02 12:04:20.435] PROFILE: pushClipRect 1162
[10-02-02 12:04:20.435] PROFILE: Words::render 663
[10-02-02 12:04:20.435] PROFILE: popClipRect 1116
[10-02-02 12:04:20.435] PROFILE: Render - wait 10718
[10-02-02 12:04:20.435] PROFILE: Render - swap buffers 2705
[10-02-02 12:04:20.435] PROFILE: Player - onFrameEnd 0
[10-02-02 12:04:20.435] PROFILE:
[10-02-02 12:04:20.435] PROFILE: Framerate statistics:
[10-02-02 12:04:20.435] PROFILE: Total frames: 1292
[10-02-02 12:04:20.435] PROFILE: Total time: 25.1078 seconds
[10-02-02 12:04:20.435] PROFILE: Framerate achieved: 51.498
[10-02-02 12:04:20.435] PROFILE: Frames too late: 277
[10-02-02 12:04:20.435] PROFILE: Percent of time spent waiting: 71.8715
[10-02-02 12:04:20.435] PROFILE: Framerate goal was: 60
Still no clean exit though on escape.
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: 3423 bytes
Desc: not available
Url : http://mail.datenhain.de/pipermail/libavg-users/attachments/20100202/418ce4e0/attachment.bin
More information about the libavg-users
mailing list