vbox的更動 706 路徑 trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
- 時間撮記:
- 2007-2-6 下午02:05:06 (18 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r23 r706 567 567 #endif 568 568 /* call the device. */ 569 #ifdef VBOX_WITH_STATISTICS 570 if (pStats) 571 STAM_PROFILE_ADV_START(&pStats->CTXALLSUFF(ProfIn), a); 572 #endif 569 573 int rc = pRange->pfnInCallback(pRange->pDevIns, pRange->pvUser, Port, pu32Value, cbValue); 570 574 #ifdef VBOX_WITH_STATISTICS 575 if (pStats) 576 STAM_PROFILE_ADV_STOP(&pStats->CTXALLSUFF(ProfIn), a); 571 577 if (rc == VINF_SUCCESS && pStats) 572 578 STAM_COUNTER_INC(&pStats->CTXALLSUFF(In)); … … 701 707 #endif 702 708 /* call the device. */ 709 #ifdef VBOX_WITH_STATISTICS 710 if (pStats) 711 STAM_PROFILE_ADV_START(&pStats->CTXALLSUFF(ProfIn), a); 712 #endif 713 703 714 int rc = pRange->pfnInStrCallback(pRange->pDevIns, pRange->pvUser, Port, pGCPtrDst, pcTransfers, cb); 704 715 #ifdef VBOX_WITH_STATISTICS 716 if (pStats) 717 STAM_PROFILE_ADV_STOP(&pStats->CTXALLSUFF(ProfIn), a); 705 718 if (rc == VINF_SUCCESS && pStats) 706 719 STAM_COUNTER_INC(&pStats->CTXALLSUFF(In)); … … 812 825 #endif 813 826 /* call the device. */ 827 #ifdef VBOX_WITH_STATISTICS 828 if (pStats) 829 STAM_PROFILE_ADV_START(&pStats->CTXALLSUFF(ProfOut), a); 830 #endif 814 831 int rc = pRange->pfnOutCallback(pRange->pDevIns, pRange->pvUser, Port, u32Value, cbValue); 815 832 816 833 #ifdef VBOX_WITH_STATISTICS 834 if (pStats) 835 STAM_PROFILE_ADV_STOP(&pStats->CTXALLSUFF(ProfOut), a); 817 836 if (rc == VINF_SUCCESS && pStats) 818 837 STAM_COUNTER_INC(&pStats->CTXALLSUFF(Out)); … … 923 942 #endif 924 943 /* call the device. */ 944 #ifdef VBOX_WITH_STATISTICS 945 if (pStats) 946 STAM_PROFILE_ADV_START(&pStats->CTXALLSUFF(ProfOut), a); 947 #endif 925 948 int rc = pRange->pfnOutStrCallback(pRange->pDevIns, pRange->pvUser, Port, pGCPtrSrc, pcTransfers, cb); 926 949 #ifdef VBOX_WITH_STATISTICS 950 if (pStats) 951 STAM_PROFILE_ADV_STOP(&pStats->CTXALLSUFF(ProfOut), a); 927 952 if (rc == VINF_SUCCESS && pStats) 928 953 STAM_COUNTER_INC(&pStats->CTXALLSUFF(Out));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器