Garnet: Correct computation of link utilization
The computation for link utilization was incorrect for the flexible network. The utilization was being divided twice by the total time.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user