- Changed Windows to use the performance counter instead of rdtsc.

SVN r1143 (trunk)
This commit is contained in:
Randy Heit 2008-08-10 03:56:53 +00:00
commit 9ad93639c5
12 changed files with 379 additions and 318 deletions

View file

@ -42,7 +42,7 @@
static cycle_t ThinkCycles;
extern cycle_t BotSupportCycles;
extern cycle_t BotWTG;
extern int BotWTG;
IMPLEMENT_CLASS (DThinker)
@ -406,9 +406,9 @@ void DThinker::RunThinkers ()
{
int i, count;
ThinkCycles.Reset();
BotSupportCycles.Reset();
BotWTG.Reset();
ThinkCycles.Reset();
BotSupportCycles.Reset();
BotWTG = 0;
ThinkCycles.Clock();