> > I was going to ask about RDTSC, because BeOS needs it to boot.

Just out of curiosity, is this the instruction that is called by then Win32
API call QueryPerformanceCounter? And on what platforms is it available?
MSDN states "Some systems include a high-resolution performance counter that
provides high-resolution elapsed times." But is doesn't get anymore
specific, and my search on the web hasn't returned any useful information
either. Does anybody know this?

> > My question
> > is "Can another thread be used to simulate the RDTSC instruction?"
> > Apparently this is a 64 bit counter that increments until it reaches
it's
> > max value and then starts at zero again.  So what is we put a thread in
the
> > emulator that just incremented a fake RDTSC counter, and then read the
> > counter whenever RDTSC is called?  Will that work, or will the timing be
too
> > far off?




Reply via email to