VirtualBox

Ignore:
Timestamp:
Sep 24, 2010 9:59:18 AM (14 years ago)
Author:
vboxsync
Message:

SUPDrv.c: Some timer debugging assistance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r32572 r32755  
    8989#ifndef VBOX_SVN_REV
    9090# define VBOX_SVN_REV 0
     91#endif
     92
     93#if 0 /* Don't start the GIP timers. Useful when debugging the IPRT timer code. */
     94# define DO_NOT_START_GIP
    9195#endif
    9296
     
    31583162                    RTMpOnAll(supdrvGipReInitCpuCallback, pGipR0, &u64NanoTS);
    31593163
    3160                 rc = RTTimerStart(pDevExt->pGipTimer, 0);
    3161                 AssertRC(rc); rc = VINF_SUCCESS;
     3164#ifndef DO_NOT_START_GIP
     3165                rc = RTTimerStart(pDevExt->pGipTimer, 0); AssertRC(rc);
     3166#endif
     3167                rc = VINF_SUCCESS;
    31623168            }
    31633169        }
     
    32393245        {
    32403246            LogFlow(("SUPR0GipUnmap: Suspends GIP updating\n"));
     3247#ifndef DO_NOT_START_GIP
    32413248            rc = RTTimerStop(pDevExt->pGipTimer); AssertRC(rc); rc = VINF_SUCCESS;
     3249#endif
    32423250        }
    32433251    }
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