Struct Cache¶
Defined in File cache.hpp
Struct Documentation¶
-
struct
ripple::Cache¶ Stores information for a cache.
Public Types
Public Functions
-
auto
size() const -> uint32_t¶ Gets the size of the cache.
- Return
The size of the cache in kB.
Public Members
-
uint32_t
level= 0¶ -
Level of the cache
-
uint32_t
partitions= 0¶ Number of partitions.
-
uint32_t
assosciativity= 0¶ Ways of assosciativity.
Max threads sharing this cache.
-
uint32_t
sets= 0¶ Number of sets.
-
uint32_t
mask= 0¶ Mask to determine cache sharing.
Public Static Attributes
-
constexpr uint32_t
bytes_in_kb= 1024¶ Constant to convert bytes to kb.
-
auto