Re: Bizarro... ( Contest )

new topic     » goto parent     » topic index » view thread      » older message » newer message

Patrick Barnes wrote:
> I ran profile_time on my competition entry, to see where I should try
> and speed it up, and found a funny thing -
> 
> Placing 'with profile_time' reduced the time by 10-20%! 
> It had a >5mb input file, and the results were fairly consistent over
> a few runs.
> 
> Rob, what have you got? Does profile_time pervert the time() function somehow?

When profile_time (DOS only) is in effect,
I have to keep track of time myself.
By default, I expect the system to interrupt me 100 
times per second. On Windows ME/98/95 this seems to happen,
and the time is calculated correctly. On XP it looks like
the system may be neglecting to interrupt me as often as
it should. On a test I just tried, the elapsed time was off by 8%.
(on XP only). I guess XP's DOS emulation is a bit flaky around the
edges. I'll keep this in mind. Your profile results should still 
be valid.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu