Changeset 716 in vbox
- Timestamp:
- Feb 6, 2007 3:56:35 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18357
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TRPM.cpp
r624 r716 513 513 STAM_REG(pVM, &pVM->trpm.s.StatForwardProfHC, STAMTYPE_PROFILE_ADV, "/TRPM/ForwardRaw/Prof/HC", STAMUNIT_TICKS_PER_CALL, "Profiling TRPMForwardTrap."); 514 514 515 STAM_REG(pVM, &pVM->trpm.s.StatTrap0dDisasm, STAMTYPE_PROFILE_ADV, "/TRPM/Trap0d/Prof/Disasm", STAMUNIT_TICKS_PER_CALL, "Profiling trpmGCTrap0dHandler."); 516 515 517 /* 516 518 * Default action when entering raw mode for the first time -
trunk/src/VBox/VMM/TRPMInternal.h
r624 r716 159 159 STAMPROFILEADV StatForwardProfGC; 160 160 STAMPROFILEADV StatForwardProfHC; 161 STAMPROFILEADV StatTrap0dDisasm; 161 162 162 163 /* R3: Statistics for interrupt handlers (allocated on the hypervisor heap). */ -
trunk/src/VBox/VMM/TRPMInternal.mac
r624 r716 66 66 .StatForwardProfGC resb STAMPROFILEADV_size 67 67 .StatForwardProfHC resb STAMPROFILEADV_size 68 .StatTrap0dDisasm resb STAMPROFILEADV_size 68 69 69 70 .paStatForwardedIRQR3 RTR3PTR_RES 1 -
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp
r715 r716 694 694 #endif 695 695 696 STAM_PROFILE_ADV_START(&pVM->trpm.s.StatTrap0dDisasm, a); 696 697 /* 697 698 * Decode the instruction. … … 703 704 Log(("trpmGCTrap0dHandler: Failed to convert %RTsel:%RX32 (cpl=%d) - rc=%Vrc !!\n", 704 705 pRegFrame->cs, pRegFrame->eip, pRegFrame->ss & X86_SEL_RPL, rc)); 706 STAM_PROFILE_ADV_STOP(&pVM->trpm.s.StatTrap0dDisasm, a); 705 707 return trpmGCExitTrap(pVM, VINF_EM_RAW_GUEST_TRAP, pRegFrame); 706 708 } … … 710 712 rc = EMInterpretDisasOneEx(pVM, (RTGCUINTPTR)PC, pRegFrame, &Cpu, &cbOp); 711 713 if (VBOX_FAILURE(rc)) 714 { 715 STAM_PROFILE_ADV_STOP(&pVM->trpm.s.StatTrap0dDisasm, a); 712 716 return trpmGCExitTrap(pVM, VINF_EM_RAW_EMULATE_INSTR, pRegFrame); 717 } 718 STAM_PROFILE_ADV_STOP(&pVM->trpm.s.StatTrap0dDisasm, a); 713 719 714 720 /*
Note:
See TracChangeset
for help on using the changeset viewer.