Changeset 41436 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- May 24, 2012 2:47:09 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78162
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r41385 r41436 127 127 static STAMPROFILEADV gStatMemWrite; 128 128 static STAMPROFILE gStatGCPhys2HCVirt; 129 static STAMPROFILE gStatHCVirt2GCPhys;130 129 static STAMCOUNTER gStatCpuGetTSC; 131 130 static STAMCOUNTER gStatRefuseTFInhibit; … … 377 376 STAM_REG(pVM, &gStatMemRead, STAMTYPE_PROFILE, "/PROF/REM/MemRead", STAMUNIT_TICKS_PER_CALL, "Profiling memory access."); 378 377 STAM_REG(pVM, &gStatMemWrite, STAMTYPE_PROFILE, "/PROF/REM/MemWrite", STAMUNIT_TICKS_PER_CALL, "Profiling memory access."); 379 STAM_REG(pVM, &gStatHCVirt2GCPhys, STAMTYPE_PROFILE, "/PROF/REM/HCVirt2GCPhys", STAMUNIT_TICKS_PER_CALL, "Profiling memory conversion."); 380 STAM_REG(pVM, &gStatGCPhys2HCVirt, STAMTYPE_PROFILE, "/PROF/REM/GCPhys2HCVirt", STAMUNIT_TICKS_PER_CALL, "Profiling memory conversion."); 378 STAM_REG(pVM, &gStatGCPhys2HCVirt, STAMTYPE_PROFILE, "/PROF/REM/GCPhys2HCVirt", STAMUNIT_TICKS_PER_CALL, "Profiling memory conversion (PGMR3PhysTlbGCPhys2Ptr)."); 381 379 382 380 STAM_REG(pVM, &gStatCpuGetTSC, STAMTYPE_COUNTER, "/REM/CpuGetTSC", STAMUNIT_OCCURENCES, "cpu_get_tsc calls"); … … 556 554 STAM_DEREG(pVM, &gStatMemRead); 557 555 STAM_DEREG(pVM, &gStatMemWrite); 558 STAM_DEREG(pVM, &gStatHCVirt2GCPhys);559 556 STAM_DEREG(pVM, &gStatGCPhys2HCVirt); 560 557 … … 1651 1648 } 1652 1649 1653 Assert(env->pVCpu && PGMPhysIsA20Enabled(env->pVCpu)); 1650 /* Assert(env->pVCpu && PGMPhysIsA20Enabled(env->pVCpu));*/ 1654 1651 *piException = EXCP_EXECUTE_RAW; 1655 1652 return true; … … 1733 1730 int rc; 1734 1731 1732 1735 1733 /* Address must be aligned enough to fiddle with lower bits */ 1736 1734 Assert((physAddr & 0x3) == 0); 1737 1735 /*AssertMsg((env1->a20_mask & physAddr) == physAddr, ("%llx\n", (uint64_t)physAddr));*/ 1736 1737 STAM_PROFILE_START(&gStatGCPhys2HCVirt, a); 1738 1738 rc = PGMR3PhysTlbGCPhys2Ptr(env1->pVM, physAddr, true /*fWritable*/, &pv); 1739 STAM_PROFILE_STOP(&gStatGCPhys2HCVirt, a); 1739 1740 Assert( rc == VINF_SUCCESS 1740 1741 || rc == VINF_PGM_PHYS_TLB_CATCH_WRITE
Note:
See TracChangeset
for help on using the changeset viewer.