gem5
v20.1.0.0
|
#include <threadinfo.hh>
Public Member Functions | |
ThreadInfo (ThreadContext *_tc) | |
~ThreadInfo () | |
virtual Addr | curThreadInfo () |
Addr | curTaskInfo (Addr thread_info=0) |
int32_t | curTaskPIDFromTaskStruct (Addr task_struct) |
int32_t | curTaskPID (Addr thread_info=0) |
int32_t | curTaskTGIDFromTaskStruct (Addr task_struct) |
int32_t | curTaskTGID (Addr thread_info=0) |
int64_t | curTaskStartFromTaskStruct (Addr task_struct) |
int64_t | curTaskStart (Addr thread_info=0) |
std::string | curTaskNameFromTaskStruct (Addr task_struct) |
std::string | curTaskName (Addr thread_info=0) |
int32_t | curTaskMmFromTaskStruct (Addr task_struct) |
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 |
ByteOrder | byteOrder |
Definition at line 37 of file threadinfo.hh.
|
inline |
Definition at line 64 of file threadinfo.hh.
|
inline |
Definition at line 70 of file threadinfo.hh.
Definition at line 80 of file threadinfo.hh.
References curThreadInfo(), get_data(), ThreadContext::getVirtProxy(), ArmISA::offset, PortProxy::read(), and tc.
Referenced by curTaskMm(), curTaskName(), curTaskPID(), curTaskStart(), and curTaskTGID().
|
inline |
Definition at line 180 of file threadinfo.hh.
References curTaskInfo(), and curTaskMmFromTaskStruct().
|
inline |
Definition at line 170 of file threadinfo.hh.
References get_data(), ThreadContext::getVirtProxy(), ArmISA::offset, PortProxy::read(), and tc.
Referenced by curTaskMm().
|
inline |
Definition at line 164 of file threadinfo.hh.
References curTaskInfo(), and curTaskNameFromTaskStruct().
|
inline |
Definition at line 146 of file threadinfo.hh.
References get_data(), ThreadContext::getVirtProxy(), ArmISA::offset, PortProxy::readString(), and tc.
Referenced by curTaskName().
|
inline |
Definition at line 106 of file threadinfo.hh.
References curTaskInfo(), and curTaskPIDFromTaskStruct().
|
inline |
Definition at line 96 of file threadinfo.hh.
References get_data(), ThreadContext::getVirtProxy(), ArmISA::offset, PortProxy::read(), and tc.
Referenced by curTaskPID().
|
inline |
Definition at line 140 of file threadinfo.hh.
References curTaskInfo(), and curTaskStartFromTaskStruct().
|
inline |
Definition at line 128 of file threadinfo.hh.
References get_data(), ThreadContext::getVirtProxy(), ArmISA::offset, PortProxy::read(), and tc.
Referenced by curTaskStart().
|
inline |
Definition at line 122 of file threadinfo.hh.
References curTaskInfo(), and curTaskTGIDFromTaskStruct().
|
inline |
Definition at line 112 of file threadinfo.hh.
References get_data(), ThreadContext::getVirtProxy(), ArmISA::offset, PortProxy::read(), and tc.
Referenced by curTaskTGID().
|
inlinevirtual |
|
inlineprivate |
Definition at line 47 of file threadinfo.hh.
References byteOrder, data, Loader::SymbolTable::find(), ThreadContext::getVirtProxy(), PortProxy::read(), Workload::symtab(), sys, tc, warn_once, and System::workload.
Referenced by curTaskInfo(), curTaskMmFromTaskStruct(), curTaskNameFromTaskStruct(), curTaskPIDFromTaskStruct(), curTaskStartFromTaskStruct(), and curTaskTGIDFromTaskStruct().
|
private |
Definition at line 43 of file threadinfo.hh.
Referenced by get_data().
|
private |
Definition at line 41 of file threadinfo.hh.
Referenced by get_data().
|
private |
Definition at line 40 of file threadinfo.hh.
Referenced by curTaskInfo(), curTaskMmFromTaskStruct(), curTaskNameFromTaskStruct(), curTaskPIDFromTaskStruct(), curTaskStartFromTaskStruct(), curTaskTGIDFromTaskStruct(), and get_data().