[mythtv] [mythtv-commits] Ticket #2127: Optimize Timeval Offset Calculation in VideoSync::OffsetTimeval()

Jim Westfall jwestfall at surrealistic.net
Sun Aug 6 20:01:44 UTC 2006


MythTV <mythtv at cvs.mythtv.org> wrote [08.06.06]:
> #2127: Optimize Timeval Offset Calculation in VideoSync::OffsetTimeval()
> --------------------------------+-------------------------------------------
>  Reporter:  russell at digium.com  |       Owner:  ijr
>      Type:  patch               |      Status:  new
>  Priority:  minor               |   Milestone:     
> Component:  mythtv              |     Version:     
>  Severity:  medium              |  
> --------------------------------+-------------------------------------------
>  The attached patch provides a more efficient method for applying the
>  microsecond offset to the supplied timeval structure.  In passing, I went
>  ahead and documented the function using doxygen style
>  comments.[[BR]][[BR]]IRC: russellb

You benchmarked your optimized code as being faster? seems like it would 
be slower.

jim


More information about the mythtv-dev mailing list