Changeset 43530 in vbox
- Timestamp:
- Oct 4, 2012 6:32:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp
r43529 r43530 917 917 { 918 918 if (cbReq < 512) 919 STAM_ COUNTER_INC(&pEndpoint->StatReqSizeSmaller512);919 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSizeSmaller512); 920 920 else if (cbReq < _1K) 921 STAM_ COUNTER_INC(&pEndpoint->StatReqSize512To1K);921 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize512To1K); 922 922 else if (cbReq < _2K) 923 STAM_ COUNTER_INC(&pEndpoint->StatReqSize1KTo2K);923 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize1KTo2K); 924 924 else if (cbReq < _4K) 925 STAM_ COUNTER_INC(&pEndpoint->StatReqSize2KTo4K);925 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize2KTo4K); 926 926 else if (cbReq < _8K) 927 STAM_ COUNTER_INC(&pEndpoint->StatReqSize4KTo8K);927 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize4KTo8K); 928 928 else if (cbReq < _16K) 929 STAM_ COUNTER_INC(&pEndpoint->StatReqSize8KTo16K);929 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize8KTo16K); 930 930 else if (cbReq < _32K) 931 STAM_ COUNTER_INC(&pEndpoint->StatReqSize16KTo32K);931 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize16KTo32K); 932 932 else if (cbReq < _64K) 933 STAM_ COUNTER_INC(&pEndpoint->StatReqSize32KTo64K);933 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize32KTo64K); 934 934 else if (cbReq < _128K) 935 STAM_ COUNTER_INC(&pEndpoint->StatReqSize64KTo128K);935 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize64KTo128K); 936 936 else if (cbReq < _256K) 937 STAM_ COUNTER_INC(&pEndpoint->StatReqSize128KTo256K);937 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize128KTo256K); 938 938 else if (cbReq < _512K) 939 STAM_ COUNTER_INC(&pEndpoint->StatReqSize256KTo512K);939 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize256KTo512K); 940 940 else 941 STAM_ COUNTER_INC(&pEndpoint->StatReqSizeOver512K);941 STAM_REL_COUNTER_INC(&pEndpoint->StatReqSizeOver512K); 942 942 943 943 if (cbReq & ((size_t)512 - 1)) 944 STAM_ COUNTER_INC(&pEndpoint->StatReqsUnaligned512);944 STAM_REL_COUNTER_INC(&pEndpoint->StatReqsUnaligned512); 945 945 else if (cbReq & ((size_t)_4K - 1)) 946 STAM_ COUNTER_INC(&pEndpoint->StatReqsUnaligned4K);946 STAM_REL_COUNTER_INC(&pEndpoint->StatReqsUnaligned4K); 947 947 } 948 948 … … 967 967 else 968 968 pStatCounter = &pEndpoint->StatTaskRunOver100Sec; 969 STAM_ COUNTER_INC(pStatCounter);970 971 STAM_ COUNTER_INC(&pEndpoint->StatIoOpsCompleted);969 STAM_REL_COUNTER_INC(pStatCounter); 970 971 STAM_REL_COUNTER_INC(&pEndpoint->StatIoOpsCompleted); 972 972 pEndpoint->cIoOpsCompleted++; 973 973 uint64_t tsMsCur = RTTimeMilliTS(); … … 1369 1369 pTask->pNext = NULL; 1370 1370 pTask->tsNsStart = RTTimeNanoTS(); 1371 STAM_ COUNTER_INC(&pEndpoint->StatIoOpsStarted);1371 STAM_REL_COUNTER_INC(&pEndpoint->StatIoOpsStarted); 1372 1372 } 1373 1373
Note:
See TracChangeset
for help on using the changeset viewer.