[ODE] dt computation

Bram Stolk bram at sara.nl
Sat Apr 1 14:35:43 MST 2006


J. Perkins wrote:
> On 4/1/06, Bram Stolk <bram at sara.nl> wrote:
> 
>>2) Have someone implement a variant for platforms without gettimeofday
> 
> 
> If you send me your function signature I can give you the code for windows.
> 

I propose a function double dsElapsedTime(void) that returns the nr of
seconds since the last call to this func.

I bounded the max return value to 1.0 seconds, so that extremely slow
machines don't get in too much trouble.

   bram

> Jason



More information about the ODE mailing list