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
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;
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 ---