gem5 v24.0.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 42 of file threadinfo.hh.
|
inline |
Definition at line 69 of file threadinfo.hh.
|
inline |
Definition at line 75 of file threadinfo.hh.
Definition at line 85 of file threadinfo.hh.
References curThreadInfo(), get_data(), gem5::ArmISA::offset, gem5::PortProxy::read(), and tc.
Referenced by curTaskMm(), curTaskName(), curTaskPID(), curTaskStart(), and curTaskTGID().
|
inline |
Definition at line 186 of file threadinfo.hh.
References curTaskInfo(), and curTaskMmFromTaskStruct().
|
inline |
Definition at line 176 of file threadinfo.hh.
References get_data(), gem5::ArmISA::offset, gem5::PortProxy::read(), and tc.
Referenced by curTaskMm().
|
inline |
Definition at line 170 of file threadinfo.hh.
References curTaskInfo(), and curTaskNameFromTaskStruct().
|
inline |
Definition at line 151 of file threadinfo.hh.
References get_data(), gem5::ArmISA::offset, gem5::PortProxy::readString(), and tc.
Referenced by curTaskName().
|
inline |
Definition at line 111 of file threadinfo.hh.
References curTaskInfo(), and curTaskPIDFromTaskStruct().
|
inline |
Definition at line 101 of file threadinfo.hh.
References get_data(), gem5::ArmISA::offset, gem5::PortProxy::read(), and tc.
Referenced by curTaskPID().
|
inline |
Definition at line 145 of file threadinfo.hh.
References curTaskInfo(), and curTaskStartFromTaskStruct().
|
inline |
Definition at line 133 of file threadinfo.hh.
References get_data(), gem5::ArmISA::offset, gem5::PortProxy::read(), and tc.
Referenced by curTaskStart().
|
inline |
Definition at line 127 of file threadinfo.hh.
References curTaskInfo(), and curTaskTGIDFromTaskStruct().
|
inline |
Definition at line 117 of file threadinfo.hh.
References get_data(), gem5::ArmISA::offset, gem5::PortProxy::read(), and tc.
Referenced by curTaskTGID().
|
inlinevirtual |
|
inlineprivate |
Definition at line 52 of file threadinfo.hh.
References byteOrder, data, gem5::loader::SymbolTable::find(), gem5::PortProxy::read(), gem5::Workload::symtab(), sys, tc, warn_once, and gem5::System::workload.
Referenced by curTaskInfo(), curTaskMmFromTaskStruct(), curTaskNameFromTaskStruct(), curTaskPIDFromTaskStruct(), curTaskStartFromTaskStruct(), and curTaskTGIDFromTaskStruct().
|
private |
Definition at line 48 of file threadinfo.hh.
Referenced by get_data().
|
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(), curTaskMmFromTaskStruct(), curTaskNameFromTaskStruct(), curTaskPIDFromTaskStruct(), curTaskStartFromTaskStruct(), curTaskTGIDFromTaskStruct(), and get_data().