[MPlayer-dev-eng] [PATCH] get_time

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Sep 13 21:53:47 CEST 2010


On Mon, Sep 13, 2010 at 09:38:11PM +0200, Dan Oscarsson wrote:
> Well, my get_time calls same system call that GetTimer does.
> The only difference is that GetTimer truncates the result to 32 bits.
> 
> So why is there a GetTimer? It has the same precision as my get_time and
> the same faults. The only difference is that it truncates the result to
> 32 bits. We could just let GetTimer return the full 62 bits instead.

And what about a system where it would not be the "full 62 bits" but
instead it would be 36 bits?
Have fun trying to fix that up to create a value that won't wrap around
at the most inconvenient time.


More information about the MPlayer-dev-eng mailing list