diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-11 15:02:23 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-10-11 15:02:23 -0500 |
commit | a098fad174d8559037602b248b8e6f7f46bfebbb (patch) | |
tree | 0f8891b3c884b6bb167f7cf92205ffad5e583cd1 /src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh | |
parent | 25bb18f12b7983e46e5b0544de18445d3b60d41a (diff) | |
download | gem5-a098fad174d8559037602b248b8e6f7f46bfebbb.tar.xz |
ruby: network: garnet: add statistics for different activities
This patch adds some statistics to garnet that record the activity
of certain structures in the on-chip network. These statistics, in a later
patch, will be used for computing the energy consumed by the on-chip network.
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh index c3dc5e69d..c9437a774 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/InputUnit_d.hh @@ -159,6 +159,7 @@ class InputUnit_d : public Consumer { return m_num_buffer_writes[vnet]; } uint32_t functionalWrite(Packet *pkt); + void resetStats(); private: int m_id; |