mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +00:00
- Fix GCC build.
svn path=/trunk/; revision=72478
This commit is contained in:
parent
4966051e96
commit
b4743181f7
1 changed files with 2 additions and 0 deletions
|
@ -52,7 +52,9 @@ ULONGLONG CurrentIps = 20000000ULL; // 20 MIPS is a good estimate
|
|||
|
||||
static VOID FASTCALL IpsCallback(ULONGLONG ElapsedTime)
|
||||
{
|
||||
#ifdef IPS_DISPLAY
|
||||
static INT NumCalls = 0;
|
||||
#endif
|
||||
|
||||
ULONGLONG NewIps = 10ULL * (CurrentCycleCount - LastCycles) / ElapsedTime;
|
||||
CurrentIps = (CurrentIps + NewIps) >> 1;
|
||||
|
|
Loading…
Reference in a new issue