ChampSim
|
#include <cstdint>
#include <vector>
Go to the source code of this file.
Classes | |
class | spp::SIGNATURE_TABLE |
class | spp::PATTERN_TABLE |
class | spp::PREFETCH_FILTER |
class | spp::GLOBAL_REGISTER |
Namespaces | |
spp | |
Enumerations | |
enum | spp::FILTER_REQUEST { spp::SPP_L2C_PREFETCH , spp::SPP_LLC_PREFETCH , spp::L2C_DEMAND , spp::L2C_EVICT } |
Functions | |
uint64_t | spp::get_hash (uint64_t key) |
Variables | |
constexpr bool | spp::LOOKAHEAD_ON = true |
constexpr bool | spp::FILTER_ON = true |
constexpr bool | spp::GHR_ON = true |
constexpr bool | spp::SPP_SANITY_CHECK = true |
constexpr bool | spp::SPP_DEBUG_PRINT = false |
constexpr std::size_t | spp::ST_SET = 1 |
constexpr std::size_t | spp::ST_WAY = 256 |
constexpr unsigned | spp::ST_TAG_BIT = 16 |
constexpr uint32_t | spp::ST_TAG_MASK = ((1 << ST_TAG_BIT) - 1) |
constexpr unsigned | spp::SIG_SHIFT = 3 |
constexpr unsigned | spp::SIG_BIT = 12 |
constexpr uint32_t | spp::SIG_MASK = ((1 << SIG_BIT) - 1) |
constexpr unsigned | spp::SIG_DELTA_BIT = 7 |
constexpr std::size_t | spp::PT_SET = 512 |
constexpr std::size_t | spp::PT_WAY = 4 |
constexpr unsigned | spp::C_SIG_BIT = 4 |
constexpr unsigned | spp::C_DELTA_BIT = 4 |
constexpr uint32_t | spp::C_SIG_MAX = ((1 << C_SIG_BIT) - 1) |
constexpr uint32_t | spp::C_DELTA_MAX = ((1 << C_DELTA_BIT) - 1) |
constexpr unsigned | spp::QUOTIENT_BIT = 10 |
constexpr unsigned | spp::REMAINDER_BIT = 6 |
constexpr unsigned | spp::HASH_BIT = (QUOTIENT_BIT + REMAINDER_BIT + 1) |
constexpr std::size_t | spp::FILTER_SET = (1 << QUOTIENT_BIT) |
constexpr uint32_t | spp::FILL_THRESHOLD = 90 |
constexpr uint32_t | spp::PF_THRESHOLD = 25 |
constexpr unsigned | spp::GLOBAL_COUNTER_BIT = 10 |
constexpr uint32_t | spp::GLOBAL_COUNTER_MAX = ((1 << GLOBAL_COUNTER_BIT) - 1) |
constexpr std::size_t | spp::MAX_GHR_ENTRY = 8 |