base.hh (8975:7f36d4436074) base.hh (9023:e9201a7bce59)
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 50 unchanged lines hidden (view full) ---

59#include "sim/insttracer.hh"
60
61struct BaseCPUParams;
62class BranchPred;
63class CheckerCPU;
64class ThreadContext;
65class System;
66
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 50 unchanged lines hidden (view full) ---

59#include "sim/insttracer.hh"
60
61struct BaseCPUParams;
62class BranchPred;
63class CheckerCPU;
64class ThreadContext;
65class System;
66
67namespace TheISA
68{
69 class Predecoder;
70}
71
72class CPUProgressEvent : public Event
73{
74 protected:
75 Tick _interval;
76 Counter lastNumInst;
77 BaseCPU *cpu;
78 bool _repeatEvent;
79

--- 172 unchanged lines hidden (view full) ---

252 public:
253 ProfileEvent(BaseCPU *cpu, Tick interval);
254 void process();
255 };
256 ProfileEvent *profileEvent;
257
258 protected:
259 std::vector<ThreadContext *> threadContexts;
67class CPUProgressEvent : public Event
68{
69 protected:
70 Tick _interval;
71 Counter lastNumInst;
72 BaseCPU *cpu;
73 bool _repeatEvent;
74

--- 172 unchanged lines hidden (view full) ---

247 public:
248 ProfileEvent(BaseCPU *cpu, Tick interval);
249 void process();
250 };
251 ProfileEvent *profileEvent;
252
253 protected:
254 std::vector<ThreadContext *> threadContexts;
260 std::vector<TheISA::Predecoder *> predecoders;
261
262 Trace::InstTracer * tracer;
263
264 public:
265
266 // Mask to align PCs to MachInst sized boundaries
267 static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1);
268

--- 144 unchanged lines hidden ---
255
256 Trace::InstTracer * tracer;
257
258 public:
259
260 // Mask to align PCs to MachInst sized boundaries
261 static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1);
262

--- 144 unchanged lines hidden ---