- Changed Windows to use the performance counter instead of rdtsc.
SVN r1143 (trunk)
This commit is contained in:
parent
ad96225213
commit
9ad93639c5
12 changed files with 379 additions and 318 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue