- Timestamp:
- Sep 9, 2008 3:32:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r12299 r12303 69 69 #endif 70 70 71 72 ////#define VBOX_REM_FLUSH_ALL_TBS 71 73 72 74 /******************************************************************************* … … 138 140 static STAMCOUNTER gStatSelOutOfSync[6]; 139 141 static STAMCOUNTER gStatSelOutOfSyncStateBack[6]; 142 static STAMCOUNTER gStatFlushTBs; 140 143 #endif 141 144 … … 370 373 STAM_REG(pVM, &gStatRefuseRing1or2, STAMTYPE_COUNTER, "/REM/Refuse/Ring1or2", STAMUNIT_OCCURENCES, "Raw mode refused because of ring 1/2 execution"); 371 374 STAM_REG(pVM, &gStatRefuseCanExecute, STAMTYPE_COUNTER, "/REM/Refuse/CanExecuteRaw", STAMUNIT_OCCURENCES, "Raw mode refused because of cCanExecuteRaw"); 375 STAM_REG(pVM, &gStatFlushTBs, STAMTYPE_COUNTER, "/REM/FlushTB", STAMUNIT_OCCURENCES, "Number of TB flushes"); 372 376 373 377 STAM_REG(pVM, &gStatREMGDTChange, STAMTYPE_COUNTER, "/REM/Change/GDTBase", STAMUNIT_OCCURENCES, "GDT base changes"); … … 1610 1614 #ifdef VBOX_REM_FLUSH_ALL_TBS 1611 1615 if (fFlushTBs) 1616 { 1617 STAM_COUNTER_INC(&gStatFlushTBs); 1612 1618 tb_flush(&pVM->rem.s.Env); 1619 } 1613 1620 #endif 1614 1621 … … 2595 2602 VM_ASSERT_EMT(pVM); 2596 2603 2604 #ifndef VBOX_REM_FLUSH_ALL_TBS 2597 2605 /* 2598 2606 * Get the physical page address. … … 2613 2621 tb_invalidate_phys_page_range(PhysGC, PhysGC + PAGE_SIZE - 1, 0); 2614 2622 } 2623 #endif 2615 2624 return VINF_SUCCESS; 2616 2625 }
Note:
See TracChangeset
for help on using the changeset viewer.