mem-garnet: Fix garnet network interface stats
authorjiemingyin <bjm419@gmail.com>
Wed, 21 Oct 2020 23:43:05 +0000 (19:43 -0400)
committerJieming Yin <bjm419@gmail.com>
Thu, 22 Oct 2020 12:51:49 +0000 (12:51 +0000)
commit076a0e1f5f432842d5a3b2df2ad1aaf1f94ca927
tree13d8452bf259310d8e1635ff199d95e4acbf9043
parent3ecc998514767502bfe6679176b540ccbc119c01
mem-garnet: Fix garnet network interface stats

Fixing a bug in garnet network interface where flit source delay is
computed using both tick and cycle.

Change-Id: If21a985f371a818611d13e9cd5ce344dbcf5fb2b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36416
Reviewed-by: Srikant Bharadwaj <srikant.bharadwaj@amd.com>
Maintainer: Matthew Poremba <matthew.poremba@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet/NetworkInterface.cc