summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-04-15 16:24:12 -0700
committerNathan Binkert <nate@binkert.org>2010-04-15 16:24:12 -0700
commite99828b06a1b694b7aca09682ae2b1be9089af88 (patch)
treee106d16b98b45695ffd993e2cd6684919723dc66 /src/cpu
parentf7e6f19adabd0ce7e35cea8b5c3b070e2cd26c38 (diff)
downloadgem5-e99828b06a1b694b7aca09682ae2b1be9089af88.tar.xz
tick: rename Clock namespace to SimClock
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/base.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh
index b229ddd38..b96a8adb2 100644
--- a/src/cpu/base.hh
+++ b/src/cpu/base.hh
@@ -98,7 +98,7 @@ class BaseCPU : public MemObject
int cpuId() { return _cpuId; }
// Tick currentTick;
- inline Tick frequency() const { return Clock::Frequency / clock; }
+ inline Tick frequency() const { return SimClock::Frequency / clock; }
inline Tick ticks(int numCycles) const { return clock * numCycles; }
inline Tick curCycle() const { return curTick / clock; }
inline Tick tickToCycles(Tick val) const { return val / clock; }