diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-10-14 00:29:38 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-10-14 00:29:38 -0500 |
commit | 7defb594b3d271f61079bec1b929a89277fc678c (patch) | |
tree | ac120fbb1fe75a7b24a75ed9a6a85d00d2cbbce4 /src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc | |
parent | 2ac04c11accb46f92cf7f2b7abe40404dbf8c5d6 (diff) | |
download | gem5-7defb594b3d271f61079bec1b929a89277fc678c.tar.xz |
ruby: garnet: flexible: refactor flit
Diffstat (limited to 'src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc b/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc index 3d75ef8c2..d2a6ed4b1 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc @@ -274,7 +274,7 @@ NetworkInterface::wakeup() int vnet = t_flit->get_vnet(); m_net_ptr->increment_received_flits(vnet); - Cycles network_delay = curCycle() - t_flit->get_enqueue_time(); + Cycles network_delay = curCycle() - t_flit->get_creation_time(); Cycles queueing_delay = t_flit->get_delay(); m_net_ptr->increment_network_latency(network_delay, vnet); |