> 
> Also, I've updated my timestatus() stuff to include times() support. Other
> improvements over existing version
> 
> 1) Fixed potential divide by zero in "percent" calculation
> 2) On non-HAVETIMES systems, uses ISO time()/difftime() rather than clock()
> (which didn't make much sense)
> 3) WinNT/Win2K GetProcessTimes() support under MSVC
> 4) Much tidier, IMO ;)
> 

I will add this to lame3.33.  But it is a lot of changes in something
very OS dependant, so I'll leave the old code also.  This will all be
in a new routine called timestatis.c, with a #define
NEW_TIMING_CODE at the top.  The timing code (both version) also
were always assuming 1152 samples per frame so the speedup factor
was off by a factor of 2 for mpeg2.

So why does MS not have times()?  The man page claims times() conforms
to:
       SVr4, SVID, POSIX, X/OPEN, BSD 4.3


Mark

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to