VirtualBox

Changeset 19500 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
May 7, 2009 6:23:22 PM (16 years ago)
Author:
vboxsync
Message:

TM: Moved the WarpDrive feature out of TMVirtual and made the setter ring-3 only.

Location:
trunk/src/VBox/VMM/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstAnimate.cpp

    r19300 r19500  
    863863                    if (u32WarpDrive != 100)
    864864                    {
    865                         rc = TMVirtualSetWarpDrive(pVM, u32WarpDrive);
     865                        rc = TMR3SetWarpDrive(pVM, u32WarpDrive);
    866866                        if (RT_FAILURE(rc))
    867867                            RTPrintf("warning: TMVirtualSetWarpDrive(,%u) -> %Rrc\n", u32WarpDrive, rc);
  • trunk/src/VBox/VMM/testcase/tstVMM.cpp

    r19467 r19500  
    105105            PTMTIMER pTimer = apTimers[i];
    106106
    107             if (cLeft == RT_ELEMENTS(apTimers) / 2
    108                 && TMTimerIsActive(pTimer))
     107            if (    cLeft == RT_ELEMENTS(apTimers) / 2
     108                &&  TMTimerIsActive(pTimer))
    109109            {
    110                 rc = TMTimerStop(pTimer);
    111                 RTTEST_CHECK_MSG(hTest, RT_SUCCESS(rc), (hTest, "TMTimerStop: %Rrc\n",  rc));
     110//                rc = TMTimerStop(pTimer);
     111//                RTTEST_CHECK_MSG(hTest, RT_SUCCESS(rc), (hTest, "TMTimerStop: %Rrc\n",  rc));
    112112            }
    113113            else
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