12 #ifndef SSTMAC_HARDWARE_NETWORK_SWITCHES_NETWORKSWITCH_H_INCLUDED 13 #define SSTMAC_HARDWARE_NETWORK_SWITCHES_NETWORKSWITCH_H_INCLUDED 25 #if SSTMAC_INTEGRATED_SST_CORE 42 public connectable_component,
48 return "network switch";
51 #if SSTMAC_INTEGRATED_SST_CORE 53 SST::ComponentId_t
id,
58 init(
unsigned int phase);
86 init_factory_params(sprockit::sim_parameters* params);
93 virtual std::vector<switch_id>
94 connected_switches()
const = 0;
110 queue_length(
int port)
const = 0;
130 hop_latency()
const = 0;
138 lookahead()
const = 0;
144 hop_bandwidth()
const = 0;
161 connection_type_t ty,
166 set_event_manager(event_manager* m);
167 #if !SSTMAC_INTEGRATED_SST_CORE 173 connect_injector(
int src_outport,
int dst_inport, event_handler* nic) = 0;
176 connect_ejector(
int src_outport,
int dst_inport, event_handler* nic) = 0;
199 #if !SSTMAC_INTEGRATED_SST_CORE
parallel_runtime * init()
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
#define DeclareFactory(...)
DeclareDebugSlot(network_switch) namespace sstmac