|
ADS
Algorithms and Data Structures
|
The prefetch of a line of the cache, beyond the book. More...
Files | |
| file | ADS/memory/Prefetch.h |
| The prefetch of a line of the cache, beyond the book: ADS::prefetch( p ) asks the processor to bring the line that holds the byte at \( p \) into its caches, and returns at once, so that a load issued later finds the line there instead of waiting for the memory. | |
Enumerations | |
| enum class | ADS::Locality : int { ADS::Locality::None = 0 , ADS::Locality::Low = 1 , ADS::Locality::Moderate = 2 , ADS::Locality::High = 3 } |
| how soon and how often a prefetched line is read again: None once (keep it out of the caches it would pollute), Low once more soon, Moderate a few times, High (the default) often, in every level More... | |
The prefetch of a line of the cache, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of memory.
|
strong |