MasterPort* getCpuPort(int idx);
- virtual void init();
+ void init() override;
void wakeup();
typedef GarnetSyntheticTrafficParams Params;
GarnetSyntheticTraffic(const Params *p);
- virtual void init();
+ void init() override;
// main simulation loop (one cycle)
void tick();
typedef MemTestParams Params;
MemTest(const Params *p);
- virtual void regStats();
+ void regStats() override;
Port &getPort(const std::string &if_name,
PortID idx=InvalidPortID) override;
MasterPort* getReadableCpuPort(int idx);
MasterPort* getWritableCpuPort(int idx);
- virtual void init();
+ void init() override;
void wakeup();
return dynamic_cast<const Params *>(_params);
}
- virtual void init();
+ void init() override;
Port &getPort(const std::string &if_name,
PortID idx=InvalidPortID) override;
Port &getPort(const std::string &if_name,
PortID idx=InvalidPortID) override;
- virtual void init();
+ void init() override;
protected:
Port &getPort(const std::string &if_name,
PortID idx=InvalidPortID) override;
- virtual void init();
+ void init() override;
typedef BridgeParams Params;
static void registerHandler(const std::string &handler_name,
Handler *handler);
- void init();
+ void init() override;
const MasterID masterId;
};
static void registerHandler(const std::string &handler_name,
Handler *handler);
- void init();
+ void init() override;
};
Port &getPort(const std::string &if_name,
PortID idx=InvalidPortID) override;
- virtual void init();
+ void init() override;
private:
return RubyDummyPort::instance();
}
- void regStats();
+ void regStats() override;
// Function for figuring out if any of the messages in the buffer need
// to be updated with the data from the packet.
{ return dynamic_cast<const Params *>(_params); }
virtual ~Network();
- virtual void init();
+ void init() override;
static uint32_t getNumberOfVirtualNetworks() { return m_virtual_networks; }
int getNumNodes() const { return m_nodes; }
virtual ~BaseXBar();
- virtual void init();
+ void init() override;
/** A function used to return the port associated with this object. */
Port &getPort(const std::string &if_name,
PortID idx=InvalidPortID) override;
- virtual void regStats();
+ void regStats() override;
};