summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-08-30 12:24:18 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-08-30 12:24:18 -0500
commit7175db4a3fcd7f5767d740a7c11b5fcf215d0018 (patch)
treed6006f36d49a02d6d79025109662da9155cd487f /src
parent426e38af8b112c5b78dd36f88e66e28f55f27ecd (diff)
downloadgem5-7175db4a3fcd7f5767d740a7c11b5fcf215d0018.tar.xz
ruby: garnet: mark few functions const in BaseGarnetNetwork.hh
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/network/garnet/BaseGarnetNetwork.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
index a977f06e6..c959536f5 100644
--- a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
+++ b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
@@ -48,9 +48,9 @@ class BaseGarnetNetwork : public Network
BaseGarnetNetwork(const Params *p);
void init();
- int getNiFlitSize() { return m_ni_flit_size; }
- int getVCsPerVnet() { return m_vcs_per_vnet; }
- bool isFaultModelEnabled() { return m_enable_fault_model; }
+ int getNiFlitSize() const { return m_ni_flit_size; }
+ int getVCsPerVnet() const { return m_vcs_per_vnet; }
+ bool isFaultModelEnabled() const { return m_enable_fault_model; }
FaultModel* fault_model;
void increment_injected_flits(int vnet) { m_flits_injected[vnet]++; }