diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/base.hh | 2 |
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; } |