Changeset 43529 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Oct 3, 2012 3:48:45 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 81117
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/PDMAsyncCompletionInternal.h
r41777 r43529 184 184 /** Task cache. */ 185 185 RTMEMCACHE hMemCacheTasks; 186 /** Flag whether to gather advanced statistics about requests. */ 187 bool fGatherAdvancedStatistics; 186 188 } PDMASYNCCOMPLETIONEPCLASS; 187 189 /** Pointer to the PDM async completion endpoint class data. */ … … 208 210 /** Pointer to the assigned bandwidth manager. */ 209 211 volatile PPDMACBWMGR pBwMgr; 210 #ifdef VBOX_WITH_STATISTICS 212 /** Aligns following statistic counters on a 8 byte boundary. */ 211 213 uint32_t u32Alignment; 214 /** @name Request size statistics. 215 * @{ */ 216 STAMCOUNTER StatReqSizeSmaller512; 217 STAMCOUNTER StatReqSize512To1K; 218 STAMCOUNTER StatReqSize1KTo2K; 219 STAMCOUNTER StatReqSize2KTo4K; 220 STAMCOUNTER StatReqSize4KTo8K; 221 STAMCOUNTER StatReqSize8KTo16K; 222 STAMCOUNTER StatReqSize16KTo32K; 223 STAMCOUNTER StatReqSize32KTo64K; 224 STAMCOUNTER StatReqSize64KTo128K; 225 STAMCOUNTER StatReqSize128KTo256K; 226 STAMCOUNTER StatReqSize256KTo512K; 227 STAMCOUNTER StatReqSizeOver512K; 228 STAMCOUNTER StatReqsUnaligned512; 229 STAMCOUNTER StatReqsUnaligned4K; 230 /** @} */ 231 /** @name Request completion time statistics. 232 * @{ */ 212 233 STAMCOUNTER StatTaskRunTimesNs[10]; 213 234 STAMCOUNTER StatTaskRunTimesUs[10]; … … 220 241 uint64_t tsIntervalStartMs; 221 242 uint64_t cIoOpsCompleted; 222 #endif 243 /** @} */ 223 244 } PDMASYNCCOMPLETIONENDPOINT; 224 #ifdef VBOX_WITH_STATISTICS 245 AssertCompileMemberAlignment(PDMASYNCCOMPLETIONENDPOINT, StatReqSizeSmaller512, sizeof(uint64_t)); 225 246 AssertCompileMemberAlignment(PDMASYNCCOMPLETIONENDPOINT, StatTaskRunTimesNs, sizeof(uint64_t)); 226 #endif227 247 228 248 /**
Note:
See TracChangeset
for help on using the changeset viewer.