summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/network/garnet/flexible-pipeline/NetworkLink.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/NetworkLink.cc b/src/mem/ruby/network/garnet/flexible-pipeline/NetworkLink.cc
index 3886be69e..7da87e077 100644
--- a/src/mem/ruby/network/garnet/flexible-pipeline/NetworkLink.cc
+++ b/src/mem/ruby/network/garnet/flexible-pipeline/NetworkLink.cc
@@ -110,9 +110,7 @@ NetworkLink::getVcLoad()
double
NetworkLink::getLinkUtilization()
{
- Time m_ruby_start = m_net_ptr->getRubyStartTime();
- return (double(m_link_utilized)) /
- (double(g_eventQueue_ptr->getTime()-m_ruby_start));
+ return (double(m_link_utilized));
}
bool