|
The Pedigree Project
0.1
|
Collaboration diagram for Cache::CachePage:Public Types | |
| enum | Status { Editing, EditTransition, ChecksumChanging, ChecksumStable } |
| Current page status. | |
Public Member Functions | |
| bool | checkChecksum (uint64_t other[2]) const |
| Check the checksum against another. | |
| bool | checkZeroChecksum () const |
| Check for an unset checksum. | |
Public Attributes | |
| uintptr_t | key |
| Key for this page. | |
| uintptr_t | location |
| The location of this page in memory. | |
| size_t | refcnt |
| uint64_t | checksum [2] |
| Checksum of the page's contents (for dirty detection). | |
| bool | checksumChanging |
| Marker to check that a page's contents are in flux. | |
| enum Cache::CachePage::Status | status |
| CachePage * | pNext |
| Linked list components for LRU. | |
| CachePage * | pPrev |
| size_t Cache::CachePage::refcnt |
Reference count to handle release() being called with multiple threads having access to the page.
Definition at line 131 of file Cache.h.
Referenced by Cache::empty(), Cache::evict(), Cache::insert(), Cache::lookup(), Cache::pin(), and Cache::release().
1.8.11