diff options
Diffstat (limited to 'src/mem/ruby/network/orion/NetworkPower.cc')
-rw-r--r-- | src/mem/ruby/network/orion/NetworkPower.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/orion/NetworkPower.cc b/src/mem/ruby/network/orion/NetworkPower.cc index 7c9634e56..9ac0dd815 100644 --- a/src/mem/ruby/network/orion/NetworkPower.cc +++ b/src/mem/ruby/network/orion/NetworkPower.cc @@ -41,7 +41,7 @@ Router_d::calculate_power() calculate_performance_numbers(); double sim_cycles; sim_cycles = - g_eventQueue_ptr->getTime() - m_network_ptr->getRubyStartTime(); + g_system_ptr->getTime() - m_network_ptr->getRubyStartTime(); // Number of virtual networks/message classes declared in Ruby // maybe greater than active virtual networks. @@ -248,7 +248,7 @@ NetworkLink_d::calculate_power() orion_cfg_ptr); double sim_cycles = - (double)(g_eventQueue_ptr->getTime() - m_net_ptr->getRubyStartTime()); + (double)(g_system_ptr->getTime() - m_net_ptr->getRubyStartTime()); // Dynamic Power // Assume half the bits flipped on every link activity |