thread_state.hh (3486:11b71489efd6) | thread_state.hh (3548:85e64c82c522) |
---|---|
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; | 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 Kernel { 48 class Statistics; | 47namespace TheISA { 48 namespace Kernel { 49 class Statistics; 50 }; |
49}; 50#endif 51 52class BaseCPU; 53class Checkpoint; 54class Port; 55class TranslatingPort; 56 --- 35 unchanged lines hidden (view full) --- 92 void dumpFuncProfile(); 93 94 EndQuiesceEvent *getQuiesceEvent() { return quiesceEvent; } 95 96 void profileClear(); 97 98 void profileSample(); 99 | 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 |
100 Kernel::Statistics *getKernelStats() { return kernelStats; } | 102 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; } |
101 102 FunctionalPort *getPhysPort() { return physPort; } 103 104 void setPhysPort(FunctionalPort *port) { physPort = port; } 105 106 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return virtPort; } 107 108 void setVirtPort(VirtualPort *port) { virtPort = port; } --- 73 unchanged lines hidden (view full) --- 182 183#if FULL_SYSTEM 184 public: 185 FunctionProfile *profile; 186 ProfileNode *profileNode; 187 Addr profilePC; 188 EndQuiesceEvent *quiesceEvent; 189 | 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 |
190 Kernel::Statistics *kernelStats; | 192 TheISA::Kernel::Statistics *kernelStats; |
191 protected: 192 /** A functional port outgoing only for functional accesses to physical 193 * addresses.*/ 194 FunctionalPort *physPort; 195 196 /** A functional port, outgoing only, for functional accesse to virtual 197 * addresses. That doen't require execution context information */ 198 VirtualPort *virtPort; --- 53 unchanged lines hidden --- | 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 --- |