VirtualBox

Changeset 32757 in vbox


Ignore:
Timestamp:
Sep 24, 2010 10:30:43 AM (14 years ago)
Author:
vboxsync
Message:

more fudge.

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r32748 r32757  
    701701        }
    702702    }
    703 
    704703#endif
    705704
  • trunk/src/VBox/Runtime/testcase/tstRTR0Timer.cpp

    r32753 r32757  
    749749                RTR0TESTR0_CHECK_MSG(u64MinStart < u64MaxStop, ("%llu, %llu", u64MinStart, u64MaxStop));
    750750                uint64_t cNsElapsed = u64MaxStop - u64MinStart;
    751                 RTR0TESTR0_CHECK_MSG(cNsElapsed <= cNsElapsedX + 1000, ("%llu, %llu", cNsElapsed, cNsElapsedX));
     751                RTR0TESTR0_CHECK_MSG(cNsElapsed <= cNsElapsedX + 100000, ("%llu, %llu", cNsElapsed, cNsElapsedX)); /* the fudge factor is time drift */
    752752                uint32_t cAvgTicks  = cNsElapsed / cNsInterval + 1;
    753753
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette