diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-11 15:02:23 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-11 15:02:23 -0500 |
commit | 25bb18f12b7983e46e5b0544de18445d3b60d41a (patch) | |
tree | df4b8addf4fd2266a50da7d93b930dfd8e4e51db /src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh | |
parent | 9321a41c62c25643d7b6381abbcf5694a012e056 (diff) | |
download | gem5-25bb18f12b7983e46e5b0544de18445d3b60d41a.tar.xz |
ruby: network: garnet: remove functions for computing power
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh index 7dae0bb52..931455e43 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh @@ -85,14 +85,10 @@ class Router_d : public BasicRouter void route_req(flit_d *t_flit, InputUnit_d* in_unit, int invc); void vcarb_req(); void swarb_req(); + void printFaultVector(std::ostream& out); void printAggregateFaultProbability(std::ostream& out); - - void calculate_power() {} - void calculate_performance_numbers(); - double get_dynamic_power() const { return m_power_dyn; } - double get_static_power() const { return m_power_sta; } - double get_clk_power() const { return m_clk_power; } + void collateStats(); bool get_fault_vector(int temperature, float fault_vector[]){ return m_network_ptr->fault_model->fault_vector(m_id, temperature, @@ -119,11 +115,6 @@ class Router_d : public BasicRouter SWallocator_d *m_sw_alloc; Switch_d *m_switch; - // Statistical variables for power - double m_power_dyn; - double m_power_sta; - double m_clk_power; - // Statistical variables for performance std::vector<double> buf_read_count; std::vector<double> buf_write_count; |