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 funcExeInst(0), storeCondFailures(0)
74 Tick quiesceEndTick = 0;
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)
Tick when() const
Get the time that the event is scheduled.
PortProxy & getPhysProxy()
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process)
void serialize(CheckpointOut &cp) const override
Serialize an object.
ThreadContext is the external interface to all thread state for anything outside of the CPU...
EndQuiesceEvent * quiesceEvent
#define UNSERIALIZE_SCALAR(scalar)
PortProxy Object Declaration.
bool scheduled() const
Determine if the current event is scheduled.
uint64_t Tick
Tick count type.
PortProxy * physProxy
A port proxy outgoing only for functional accesses to physical addresses.
virtual PortProxy::SendFunctionalFunc getSendFunctional()
Returns a sendFunctional delegate for use with port proxies.
Kernel::Statistics * kernelStats
void serialize(CheckpointOut &cp) const override
Serialize an object.
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 port or other object which implements the functional response protocol...
int16_t ThreadID
Thread index/ID type.
unsigned int cacheLineSize() const
Get the cache line size of the system.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
std::ostream CheckpointOut
TranslatingPortProxy Object Declaration for FS.
TranslatingPortProxy Object Declaration for SE.
void schedule(Event &event, Tick when)
PortProxy & getVirtProxy()
PortProxy * virtProxy
A translating port proxy, outgoing only, for functional accesse to virtual addresses.
#define SERIALIZE_ENUM(scalar)