Jay Stelly wrote:
What platform? (linux/win32)? On linux realtime is just accumulating
changes from repeated calls to gettimeofday()
Have you compared gpGlobals->realtime to the output of Plat_FloatTime()
? Are they both slow/stopped or just realtime?
Has anyone else encountered this problem?
...also, what CPU (Intel or AMD)? Are you running multiple cores and/or
CPUs? I remember recently reading about an AMD problem with multiple
cores (or was it multiple CPUs) where the RDTSC instruction's time
wasn't syncronized between CPUs/cores so when called once by code, it
would return the ticks from core 0, when called again, it would return
the ticks from core 1 (which could be different). This would make the
system appear to jump ahead in time and/or go back in time. If HL2 is
using RDTSC instead of QueryPerformanceCounter(), it could get odd
results on AMD multi-CPU systems. If memory serves correctly, Windows
forces QueryPerformanceCounter() to always run on CPU 0, so you don't
get any discrepancy between calls.
--
Jeffrey "botman" Broome
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders