Re: [AD] Add timeBeginPeriod(1) to wtimer.c |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> > i looked at the src code, to find out about the WaitForSingleObject()
> >
> > how do you measure the results ?
>
> The proper way to do measurements would be to compare the benchmarks from
> the test programme that comes with Allegro, I think.
> If there's a clear difference there, then we can discuss if this really is
> a problem or not. For now, I'm leaning to just calling timeBeginPeriod()
> >from within rest()...
That's what I think also. Implementing this in rest() only would affect only
users of that function, so that's one relatively small thing. For more
changes more investigations will be necessary.
I should strip down my current game prog to contain essentially the game
loop, measurement code and draw some bitmaps, then I could share that prog
for you to do your own measurements.
Well, I could also use that as testing prog for my allegro-molto thingy...
tobing