66c66
< const std::vector<MessageBuffer*>& out_vec);
---
> const std::vector<MessageBuffer*>& out_vec);
69,72c69,74
< void printStats(std::ostream& out) const;
< void clearStats();
< // The average utilization (a percent) since last clearStats()
< double getUtilization() const;
---
> // The average utilization (a fraction) since last clearStats()
> const Stats::Scalar & getUtilization() const
> { return m_link_utilization; }
> const Stats::Vector & getMsgCount(unsigned int type) const
> { return m_msg_counts[type]; }
>
77,81d78
< const std::vector<std::vector<int> >&
< getCounters() const
< {
< return m_message_counters;
< }
83,84c80,82
< void clear();
<
---
> void clearStats();
> void collateStats();
> void regStats(std::string name);
91d88
< void linkUtilized(double ratio) { m_links_utilized += ratio; }
99,100c96
< std::vector<std::vector<int> > m_message_counters;
< int m_vnets;
---
> unsigned int m_vnets;
109,111c105,110
< // For tracking utilization
< Cycles m_ruby_start;
< double m_links_utilized;
---
> // Statistical variables
> Stats::Scalar m_link_utilization;
> std::vector<Stats::Vector> m_msg_counts;
> std::vector<Stats::Formula> m_msg_bytes;
>
> double m_link_utilization_proxy;