Changeset 24621 in vbox for trunk/src/VBox/VMM/PDMAsyncCompletionFileInternal.h
- Timestamp:
- Nov 12, 2009 7:05:01 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54772
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMAsyncCompletionFileInternal.h
r24517 r24621 33 33 34 34 #include "PDMAsyncCompletionInternal.h" 35 36 /** Enable the 2Q cache alogrithm. */ 37 #define VBOX_WITH_2Q_CACHE 1 35 38 36 39 /** @todo: Revise the caching of tasks. We have currently four caches: … … 275 278 /** Critical section protecting the cache. */ 276 279 RTCRITSECT CritSect; 280 #ifdef VBOX_WITH_2Q_CACHE 281 uint32_t cbRecentlyUsedInMax; 282 uint32_t cbRecentlyUsedOutMax; 283 PDMACFILELRULIST LruRecentlyUsedIn; 284 PDMACFILELRULIST LruRecentlyUsedOut; 285 PDMACFILELRULIST LruFrequentlyUsed; 286 #else 277 287 /** Adaption parameter (p) */ 278 288 uint32_t uAdaptVal; … … 285 295 /** LRU list for evicted entries from T2 (B2) */ 286 296 PDMACFILELRULIST LruFrequentlyGhost; 297 #endif 287 298 #ifdef VBOX_WITH_STATISTICS 288 299 /** Hit counter. */
Note:
See TracChangeset
for help on using the changeset viewer.