ChampSim
channel.cc File Reference
#include "channel.h"
#include <cassert>
#include "cache.h"
#include "champsim.h"
#include "instruction.h"
#include <fmt/core.h>
Include dependency graph for channel.cc:

Functions

template<typename Iter , typename F >
bool do_collision_for (Iter begin, Iter end, champsim::channel::request_type &packet, unsigned shamt, F &&func)
 
template<typename Iter >
bool do_collision_for_merge (Iter begin, Iter end, champsim::channel::request_type &packet, unsigned shamt)
 
template<typename Iter >
bool do_collision_for_return (Iter begin, Iter end, champsim::channel::request_type &packet, unsigned shamt, std::deque< champsim::channel::response_type > &returned)
 

Function Documentation

◆ do_collision_for()

template<typename Iter , typename F >
bool do_collision_for ( Iter  begin,
Iter  end,
champsim::channel::request_type packet,
unsigned  shamt,
F &&  func 
)

◆ do_collision_for_merge()

template<typename Iter >
bool do_collision_for_merge ( Iter  begin,
Iter  end,
champsim::channel::request_type packet,
unsigned  shamt 
)

◆ do_collision_for_return()

template<typename Iter >
bool do_collision_for_return ( Iter  begin,
Iter  end,
champsim::channel::request_type packet,
unsigned  shamt,
std::deque< champsim::channel::response_type > &  returned 
)