diff options
Diffstat (limited to 'src/mem/ruby/network/orion')
-rw-r--r-- | src/mem/ruby/network/orion/NetworkPower.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/ruby/network/orion/NetworkPower.cc b/src/mem/ruby/network/orion/NetworkPower.cc index f4a471986..cb2841f04 100644 --- a/src/mem/ruby/network/orion/NetworkPower.cc +++ b/src/mem/ruby/network/orion/NetworkPower.cc @@ -211,7 +211,7 @@ Router_d::calculate_power() } void -NetworkLink_d::calculate_power() +NetworkLink_d::calculate_power(double sim_cycles) { OrionConfig* orion_cfg_ptr; OrionLink* orion_link_ptr; @@ -232,8 +232,6 @@ NetworkLink_d::calculate_power() channel_width_bits, orion_cfg_ptr); - double sim_cycles = (double)(m_net_ptr->curCycle() - g_ruby_start); - // Dynamic Power // Assume half the bits flipped on every link activity double link_dynamic_energy = |