12 #ifndef SSTMAC_HARDWARE_NETWORK_SWITCHES_SWITCHINTERCONNECT_H_INCLUDED 13 #define SSTMAC_HARDWARE_NETWORK_SWITCHES_SWITCHINTERCONNECT_H_INCLUDED 34 double bw_term = num_bytes /
hop_bw_;
50 #if SSTMAC_INTEGRATED_SST_CORE 51 class sst_switch_interconnect :
59 init_factory_params(sprockit::sim_parameters* params);
62 event_location()
const {
71 typedef spkt_unordered_map<switch_id, network_switch*>
switch_map;
80 init_factory_params(sprockit::sim_parameters* params);
84 return "switchinterconnect";
90 template_switch(sprockit::sim_parameters* params,
100 switch_map::const_iterator it = switches_.find(
id);
101 if (it == switches_.end()){
116 write_graph_file(
const std::string& graph_file);
140 set_switch_event_manager(
virtual std::string to_string() const
A class describing an event.
timestamp lookahead() const
network_switch * switch_at(switch_id id) const
timestamp hop_latency() const
Base type for implementations of an engine that is able to schedule events and advance simulation tim...
spkt_unordered_map< switch_id, network_switch * > switch_map
A basic container for time (subject to future transplant).
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
const switch_map & switches() const
switch_interconnect_base(partition *part, parallel_runtime *rt)
The interface for something that can schedule messages.
timestamp injection_latency_
timestamp send_delay(int num_hops, int num_bytes) const
event_loc_id event_location() const
Class for storing all the partitions given to us by METIS.
macro_switch_interconnect(partition *part, parallel_runtime *rt)