Changeset 17708 in vbox
- Timestamp:
- Mar 11, 2009 4:27:47 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r17489 r17708 311 311 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitCLTS, "/HWACCM/CPU%d/Exit/Instr/CLTS"); 312 312 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitLMSW, "/HWACCM/CPU%d/Exit/Instr/LMSW"); 313 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitCli, "/HWACCM/CPU%d/Exit/Instr/Cli"); 314 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitSti, "/HWACCM/CPU%d/Exit/Instr/Sti"); 315 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitPushf, "/HWACCM/CPU%d/Exit/Instr/Pushf"); 316 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitPopf, "/HWACCM/CPU%d/Exit/Instr/Popf"); 317 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitIret, "/HWACCM/CPU%d/Exit/Instr/Iret"); 318 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitInt, "/HWACCM/CPU%d/Exit/Instr/Int"); 313 319 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitIOWrite, "/HWACCM/CPU%d/Exit/IO/Write"); 314 320 HWACCM_REG_COUNTER(&pVCpu->hwaccm.s.StatExitIORead, "/HWACCM/CPU%d/Exit/IO/Read"); -
trunk/src/VBox/VMM/HWACCMInternal.h
r17327 r17708 600 600 STAMCOUNTER StatExitCpuid; 601 601 STAMCOUNTER StatExitRdtsc; 602 STAMCOUNTER StatExitCli; 603 STAMCOUNTER StatExitSti; 604 STAMCOUNTER StatExitPushf; 605 STAMCOUNTER StatExitPopf; 606 STAMCOUNTER StatExitIret; 607 STAMCOUNTER StatExitInt; 602 608 STAMCOUNTER StatExitCRxWrite[16]; 603 609 STAMCOUNTER StatExitCRxRead[16]; -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r17707 r17708 2579 2579 case OP_CLI: 2580 2580 pCtx->eflags.Bits.u1IF = 0; 2581 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitCli); 2581 2582 break; 2582 2583 2583 2584 case OP_STI: 2584 2585 pCtx->eflags.Bits.u1IF = 1; 2586 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitSti); 2585 2587 break; 2586 2588 … … 2618 2620 pCtx->esp += cbParm; 2619 2621 pCtx->esp &= uMask; 2622 2623 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitPopf); 2620 2624 break; 2621 2625 } … … 2655 2659 pCtx->esp -= cbParm; 2656 2660 pCtx->esp &= uMask; 2661 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitPushf); 2657 2662 break; 2658 2659 2663 } 2660 2664 … … 2695 2699 LogFlow(("iret to %04x:%x\n", pCtx->cs, pCtx->ip)); 2696 2700 fUpdateRIP = false; 2701 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitIret); 2697 2702 break; 2698 2703 } … … 2710 2715 AssertRC(rc); 2711 2716 fUpdateRIP = false; 2717 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitInt); 2712 2718 break; 2713 2719 } … … 2727 2733 AssertRC(rc); 2728 2734 fUpdateRIP = false; 2735 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitInt); 2729 2736 } 2730 2737 break; … … 2743 2750 AssertRC(rc); 2744 2751 fUpdateRIP = false; 2752 STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitInt); 2745 2753 break; 2746 2754 }
Note:
See TracChangeset
for help on using the changeset viewer.