"Dave Held" <[EMAIL PROTECTED]> writes:

> > What would be really neato would be to use the rtdsc (sp?) or 
> > equivalent assembly instruction where available. Most processors
> > provide such a thing and it would give much lower overhead and much
> > more accurate answers.
> > 
> > The main problem I see with this would be on multi-processor
> > machines. (QueryPerformanceCounter does work properly on 
> > multi-processor machines, right?)
> I believe QueryPerformanceCounter() already does this.

This would be a good example of why selectively quoting the part of the
message to which you're responding to is more useful than just blindly echoing
my message back to me.

Already does what? 

Use rtdsc? In which case using it would be a mistake. Since rtdsc doesn't work
across processors. And using it via QueryPerformanceCounter would be a
non-portable approach to using rtdsc. Much better to devise a portable
approach that works on any architecture where something equivalent is

Or already works on multi-processor machines? In which case, uh, ok.


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to