Fasttimer was using incorrect clock count precision.
This commit is contained in:
@@ -226,7 +226,7 @@ public:
|
|||||||
//gTimerBins[gCurTimerBin]++;
|
//gTimerBins[gCurTimerBin]++;
|
||||||
//LLTimer::sNumTimerCalls++;
|
//LLTimer::sNumTimerCalls++;
|
||||||
|
|
||||||
U64 cpu_clocks = getCPUClockCount64();
|
U64 cpu_clocks = getCPUClockCount32();
|
||||||
|
|
||||||
sStart[sCurDepth] = cpu_clocks;
|
sStart[sCurDepth] = cpu_clocks;
|
||||||
sCurDepth++;
|
sCurDepth++;
|
||||||
@@ -241,7 +241,7 @@ public:
|
|||||||
// These don't get counted, because they use CPU clockticks
|
// These don't get counted, because they use CPU clockticks
|
||||||
//gTimerBins[gCurTimerBin]++;
|
//gTimerBins[gCurTimerBin]++;
|
||||||
//LLTimer::sNumTimerCalls++;
|
//LLTimer::sNumTimerCalls++;
|
||||||
end = getCPUClockCount64();
|
end = getCPUClockCount32();
|
||||||
|
|
||||||
sCurDepth--;
|
sCurDepth--;
|
||||||
delta = end - sStart[sCurDepth];
|
delta = end - sStart[sCurDepth];
|
||||||
|
|||||||
Reference in New Issue
Block a user