gem5
|
#include <threadinfo.hh>
Public Member Functions | |
ThreadInfo (ThreadContext *_tc, Addr _pcbb=0) | |
~ThreadInfo () | |
Addr | curThreadInfo () |
Addr | curTaskInfo (Addr thread_info=0) |
int32_t | curTaskPID (Addr thread_info=0) |
int32_t | curTaskTGID (Addr thread_info=0) |
int64_t | curTaskStart (Addr thread_info=0) |
std::string | curTaskName (Addr thread_info=0) |
int32_t | curTaskMm (Addr thread_info=0) |
Private Member Functions | |
template<typename T > | |
bool | get_data (const char *symbol, T &data) |
Private Attributes | |
ThreadContext * | tc |
System * | sys |
Addr | pcbb |
Definition at line 42 of file threadinfo.hh.
|
inline |
Definition at line 69 of file threadinfo.hh.
|
inline |
Definition at line 74 of file threadinfo.hh.
Definition at line 96 of file threadinfo.hh.
References addr, CopyOut(), curThreadInfo(), get_data(), ArmISA::offset, and tc.
Referenced by curTaskMm(), curTaskName(), curTaskPID(), curTaskStart(), and curTaskTGID().
|
inline |
Definition at line 171 of file threadinfo.hh.
References CopyOut(), curTaskInfo(), get_data(), ArmISA::offset, and tc.
Referenced by DumpStatsPCEvent::process().
|
inline |
Definition at line 153 of file threadinfo.hh.
References CopyStringOut(), curTaskInfo(), get_data(), ArmISA::offset, X86ISA::size(), and tc.
Referenced by LinuxAlphaSystem::PrintThreadInfo::process(), LinuxMipsSystem::PrintThreadInfo::process(), and DumpStatsPCEvent::process().
|
inline |
Definition at line 112 of file threadinfo.hh.
References CopyOut(), curTaskInfo(), get_data(), ArmISA::offset, and tc.
Referenced by LinuxAlphaSystem::PrintThreadInfo::process(), LinuxMipsSystem::PrintThreadInfo::process(), and DumpStatsPCEvent::process().
|
inline |
Definition at line 138 of file threadinfo.hh.
References CopyOut(), curTaskInfo(), data, get_data(), ArmISA::offset, and tc.
Referenced by LinuxAlphaSystem::PrintThreadInfo::process(), and LinuxMipsSystem::PrintThreadInfo::process().
|
inline |
Definition at line 125 of file threadinfo.hh.
References CopyOut(), curTaskInfo(), get_data(), ArmISA::offset, and tc.
Referenced by DumpStatsPCEvent::process().
|
inline |
Definition at line 78 of file threadinfo.hh.
References addr, AlphaISA::CurThreadInfoImplemented, AlphaISA::CurThreadInfoReg, ThreadContext::getPhysProxy(), MipsISA::p, panic, pcbb, PortProxy::readBlob(), ThreadContext::readMiscRegNoEffect(), ArmISA::sp, tc, and ULL.
Referenced by curTaskInfo().
|
inlineprivate |
Definition at line 51 of file threadinfo.hh.
References addr, CopyOut(), SymbolTable::findAddress(), BigEndianGuest::gtoh(), System::kernelSymtab, sys, tc, and warn_once.
Referenced by curTaskInfo(), curTaskMm(), curTaskName(), curTaskPID(), curTaskStart(), and curTaskTGID().
|
private |
Definition at line 47 of file threadinfo.hh.
Referenced by curThreadInfo().
|
private |
Definition at line 46 of file threadinfo.hh.
Referenced by get_data().
|
private |
Definition at line 45 of file threadinfo.hh.
Referenced by curTaskInfo(), curTaskMm(), curTaskName(), curTaskPID(), curTaskStart(), curTaskTGID(), curThreadInfo(), and get_data().