1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 30 unchanged lines hidden (view full) --- 39#include "mem/mem_object.hh" 40#include "sim/process.hh" 41#endif 42 43#if FULL_SYSTEM 44class EndQuiesceEvent; 45class FunctionProfile; 46class ProfileNode; |
47namespace TheISA { 48 namespace Kernel { 49 class Statistics; 50 }; |
51}; 52#endif 53 54class BaseCPU; 55class Checkpoint; 56class Port; 57class TranslatingPort; 58 --- 35 unchanged lines hidden (view full) --- 94 void dumpFuncProfile(); 95 96 EndQuiesceEvent *getQuiesceEvent() { return quiesceEvent; } 97 98 void profileClear(); 99 100 void profileSample(); 101 |
102 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; } |
103 104 FunctionalPort *getPhysPort() { return physPort; } 105 106 void setPhysPort(FunctionalPort *port) { physPort = port; } 107 108 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return virtPort; } 109 110 void setVirtPort(VirtualPort *port) { virtPort = port; } --- 73 unchanged lines hidden (view full) --- 184 185#if FULL_SYSTEM 186 public: 187 FunctionProfile *profile; 188 ProfileNode *profileNode; 189 Addr profilePC; 190 EndQuiesceEvent *quiesceEvent; 191 |
192 TheISA::Kernel::Statistics *kernelStats; |
193 protected: 194 /** A functional port outgoing only for functional accesses to physical 195 * addresses.*/ 196 FunctionalPort *physPort; 197 198 /** A functional port, outgoing only, for functional accesse to virtual 199 * addresses. That doen't require execution context information */ 200 VirtualPort *virtPort; --- 53 unchanged lines hidden --- |