projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
426e38a
)
ruby: garnet: mark few functions const in BaseGarnetNetwork.hh
author
Nilay Vaish
<nilay@cs.wisc.edu>
Sun, 30 Aug 2015 17:24:18 +0000
(12:24 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Sun, 30 Aug 2015 17:24:18 +0000
(12:24 -0500)
src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
patch
|
blob
|
history
diff --git
a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
index a977f06e64ffe4a21d41de3fd53975ebcd27b1e4..c959536f589581eaa8c678d884369bcc21711150 100644
(file)
--- 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]++; }