Removed the out_line_vec data structure from the Consumer. I'm not sure
what this did before, but currently it has no usefulness.
class Consumer {
public:
// Constructors
- Consumer() { m_last_scheduled_wakeup = 0; m_last_wakeup = 0; m_out_link_vec.setSize(0); }
+ Consumer() { m_last_scheduled_wakeup = 0; m_last_wakeup = 0; }
// Destructor
virtual ~Consumer() { }
virtual void print(ostream& out) const = 0;
const Time& getLastScheduledWakeup() const { return m_last_scheduled_wakeup; }
void setLastScheduledWakeup(const Time& time) { m_last_scheduled_wakeup = time; }
- Vector< Vector<MessageBuffer*> > getOutBuffers() { return m_out_link_vec; }
-
-protected:
- Vector< Vector<MessageBuffer*> > m_out_link_vec;
private:
// Private Methods
m_out.insertAtBottom(out);
m_routing_table.insertAtBottom(routing_table_entry);
- m_out_link_vec.insertAtBottom(out);
}
void PerfectSwitch::clearRoutingTables()
m_message_counters[i][j] = 0;
}
}
-
- m_out_link_vec.insertAtBottom(out_vec);
}
void Throttle::addVirtualNetwork(MessageBuffer* in_ptr, MessageBuffer* out_ptr)