Changeset 43599 in vbox
- Timestamp:
- Oct 10, 2012 2:47:55 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp
r43530 r43599 945 945 else if (cbReq & ((size_t)_4K - 1)) 946 946 STAM_REL_COUNTER_INC(&pEndpoint->StatReqsUnaligned4K); 947 else if (cbReq & ((size_t)_8K - 1)) 948 STAM_REL_COUNTER_INC(&pEndpoint->StatReqsUnaligned8K); 947 949 } 948 950 … … 1206 1208 "Number of requests which size is not aligned to 4KB", 1207 1209 "/PDM/AsyncCompletion/File/%s/ReqsUnaligned4K", 1210 RTPathFilename(pEndpoint->pszUri)); 1211 } 1212 1213 if (RT_SUCCESS(rc)) 1214 { 1215 rc = STAMR3RegisterF(pVM, &pEndpoint->StatReqsUnaligned8K, STAMTYPE_COUNTER, 1216 STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES, 1217 "Number of requests which size is not aligned to 8KB", 1218 "/PDM/AsyncCompletion/File/%s/ReqsUnaligned8K", 1208 1219 RTPathFilename(pEndpoint->pszUri)); 1209 1220 } … … 1250 1261 STAMR3Deregister(pVM, &pEndpoint->StatReqsUnaligned512); 1251 1262 STAMR3Deregister(pVM, &pEndpoint->StatReqsUnaligned4K); 1263 STAMR3Deregister(pVM, &pEndpoint->StatReqsUnaligned8K); 1252 1264 } 1253 1265 -
trunk/src/VBox/VMM/include/PDMAsyncCompletionInternal.h
r43529 r43599 228 228 STAMCOUNTER StatReqsUnaligned512; 229 229 STAMCOUNTER StatReqsUnaligned4K; 230 STAMCOUNTER StatReqsUnaligned8K; 230 231 /** @} */ 231 232 /** @name Request completion time statistics.
Note:
See TracChangeset
for help on using the changeset viewer.