[MPlayer-dev-eng] Video CPU usage reported incorrectly since 33114 threading patch
Dan Oscarsson
Dan.Oscarsson at tieto.com
Wed Mar 30 13:32:27 CEST 2011
ons 2011-03-30 klockan 04:26 -0700 skrev Hermi Mercury:
> I noticed that when multiple threads are used with mplayer revision 33114
> (through r33148), the video CPU usage reported is near 0%, as compared to
> ~20% for revision 33113 of mplayer. The changes introduced in r33114 enable
> threading (for the ffh264 video decoder at least).
>
> Some output from testing indicates that because thread_count was not being
> set in r33113 (when using pthreads at least), threading was not enabled with
> this earlier build. I tracked CPU usage reporting down to the
> video_time_usage variable, where it is incremented in dec_video.c, but was
> unable to determine exactly how threading was interfering with this counter.
>
>
> If someone with some more experience in this area could take a look I'd
> appreciate it.
More information about the MPlayer-dev-eng
mailing list