33 #include "arch/kernel_stats.hh"
47 : numInst(0), numOp(0), numLoad(0), startNumLoad(0),
49 _contextId(0), _threadId(_tid), lastActivate(0), lastSuspend(0),
50 profile(NULL), profileNode(NULL), profilePC(0), quiesceEvent(NULL),
51 kernelStats(NULL), process(_process), physProxy(NULL), virtProxy(NULL),
52 proxy(NULL), funcExeInst(0), storeCondFailures(0)
76 Tick quiesceEndTick = 0;
121 assert(
proxy == NULL);
148 assert(
proxy != NULL);
A TranslatingPortProxy in FS mode translates a virtual address to a physical address and then calls t...
ProfileNode * profileNode
FunctionProfile * profile
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void sample(ProfileNode *node, Addr pc)
PortProxy & getPhysProxy()
bool scheduled() const
Determine if the current event is scheduled.
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
FSTranslatingPortProxy & getVirtProxy()
EndQuiesceEvent * quiesceEvent
#define UNSERIALIZE_SCALAR(scalar)
PortProxy Object Declaration.
Tick when() const
Get the time that the event is scheduled.
uint64_t Tick
Tick count type.
PortProxy * physProxy
A port proxy outgoing only for functional accesses to physical addresses.
FSTranslatingPortProxy * virtProxy
A translating port proxy, outgoing only, for functional accesse to virtual addresses.
void serialize(CheckpointOut &cp) const override
Serialize an object.
SETranslatingPortProxy * proxy
ThreadContext::Status _status
#define SERIALIZE_SCALAR(scalar)
#define UNSERIALIZE_ENUM(scalar)
void initMemProxies(ThreadContext *tc)
Initialise the physical and virtual port proxies and tie them to the data port of the CPU...
This object is a proxy for a structural port, to be used for debug accesses.
int16_t ThreadID
Thread index/ID type.
TheISA::Kernel::Statistics * kernelStats
std::ostream CheckpointOut
SETranslatingPortProxy & getMemProxy()
TranslatingPortProxy Object Declaration for FS.
TranslatingPortProxy Object Declaration for SE.
#define SERIALIZE_ENUM(scalar)