milliseconds or seconds?

regarding QueryPerformanceCounter and QueryPerformanceFrequency, if i take my elapsed time and divide it by the frequency, what does that leave me with? what units?

Dividing the counter by the frequency gives you the time in seconds.

[This message has been edited by DFrey (edited 02-25-2001).]

k, thanks

ok, if i have an elapsed time, and it is approaching one second, what is the best way to compare it to one second? just say
if(elapsed >= 1.0f)
would that constitute as one second?

That would really depend upon what you wanted to do. But ordinarily that should be fine for an elaspe timer.