ChampSim
cache.cc File Reference
#include "cache.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <iomanip>
#include <numeric>
#include <fmt/core.h>
#include <fmt/ranges.h>
#include "champsim.h"
#include "champsim_constants.h"
#include "deadlock.h"
#include "instruction.h"
#include "util/algorithm.h"
#include "util/span.h"
Include dependency graph for cache.cc:

Functions

template<typename It >
std::pair< It, It > get_span (It anchor, typename std::iterator_traits< It >::difference_type set_idx, typename std::iterator_traits< It >::difference_type num_way)
 

Function Documentation

◆ get_span()

template<typename It >
std::pair<It, It> get_span ( It  anchor,
typename std::iterator_traits< It >::difference_type  set_idx,
typename std::iterator_traits< It >::difference_type  num_way 
)