diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-10-02 14:35:45 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-10-02 14:35:45 -0500 |
commit | 88ba1c452b25de7f11dcb4a14bbeb8f540809918 (patch) | |
tree | 03dab82a1b7e2d7de285ec1b19c0980a9310dd8f /src/mem/ruby/profiler | |
parent | 4488379244cdf3c211e76dbf3b4278347f639039 (diff) | |
download | gem5-88ba1c452b25de7f11dcb4a14bbeb8f540809918.tar.xz |
ruby: makes some members non-static
This patch makes some of the members (profiler, network, memory vector)
of ruby system non-static.
Diffstat (limited to 'src/mem/ruby/profiler')
-rw-r--r-- | src/mem/ruby/profiler/Profiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/profiler/Profiler.cc b/src/mem/ruby/profiler/Profiler.cc index e84eea727..c4be8884c 100644 --- a/src/mem/ruby/profiler/Profiler.cc +++ b/src/mem/ruby/profiler/Profiler.cc @@ -460,7 +460,7 @@ Profiler::clearStats() m_delayedCyclesHistogram.clear(); m_delayedCyclesNonPFHistogram.clear(); - int size = RubySystem::getNetwork()->getNumberOfVirtualNetworks(); + int size = Network::getNumberOfVirtualNetworks(); m_delayedCyclesVCHistograms.resize(size); for (int i = 0; i < size; i++) { m_delayedCyclesVCHistograms[i].clear(); |