Changeset 77226 in vbox
- Timestamp:
- Feb 8, 2019 5:13:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r77207 r77226 2402 2402 * Temporarily disable the access handler now that we've kicked the FIFO thread. 2403 2403 */ 2404 # ifdef VBOX_STRICT /** @todo r=bird: This is _not_ guaranteed at all. Expect spurious assertions! */2405 /* Invariant: The access handler should never trigger twice within a certain2406 time span; calling it 500ms here for simplicity. */2407 uint64_t TimeNow = RTTimeMilliTS();2408 Assert(TimeNow - pThis->svga.pSvgaR3State->TimeLastFIFOIntercept > 500);2409 pThis->svga.pSvgaR3State->TimeLastFIFOIntercept = TimeNow;2410 # endif2411 2404 2412 2405 STAM_REL_COUNTER_INC(&pThis->svga.pSvgaR3State->StatFifoAccessHandler); … … 3417 3410 else 3418 3411 { 3412 # ifdef VBOX_STRICT 3413 /* Invariant: The access handler should never be reset twice within 3414 a certain time span; calling it 500ms here for simplicity. */ 3415 uint64_t TimeNow = RTTimeMilliTS(); 3416 Assert(TimeNow - pSVGAState->TimeLastFIFOIntercept > 500); 3417 pSVGAState->TimeLastFIFOIntercept = TimeNow; 3418 # endif 3419 3419 int rc2 = PGMHandlerPhysicalReset(PDMDevHlpGetVM(pDevIns), pThis->svga.GCPhysFIFO); 3420 3420 AssertRC(rc2); /* No break. Racing EMTs unmapping and remapping the region. */
Note:
See TracChangeset
for help on using the changeset viewer.