gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Linux::ThreadInfo Class Reference

#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

ThreadContexttc
 
Systemsys
 
Addr pcbb
 

Detailed Description

Definition at line 42 of file threadinfo.hh.

Constructor & Destructor Documentation

Linux::ThreadInfo::ThreadInfo ( ThreadContext _tc,
Addr  _pcbb = 0 
)
inline

Definition at line 69 of file threadinfo.hh.

Linux::ThreadInfo::~ThreadInfo ( )
inline

Definition at line 74 of file threadinfo.hh.

Member Function Documentation

Addr Linux::ThreadInfo::curTaskInfo ( Addr  thread_info = 0)
inline
int32_t Linux::ThreadInfo::curTaskMm ( Addr  thread_info = 0)
inline

Definition at line 171 of file threadinfo.hh.

References CopyOut(), curTaskInfo(), get_data(), ArmISA::offset, and tc.

Referenced by DumpStatsPCEvent::process().

std::string Linux::ThreadInfo::curTaskName ( Addr  thread_info = 0)
inline
int32_t Linux::ThreadInfo::curTaskPID ( Addr  thread_info = 0)
inline
int64_t Linux::ThreadInfo::curTaskStart ( Addr  thread_info = 0)
inline
int32_t Linux::ThreadInfo::curTaskTGID ( Addr  thread_info = 0)
inline

Definition at line 125 of file threadinfo.hh.

References CopyOut(), curTaskInfo(), get_data(), ArmISA::offset, and tc.

Referenced by DumpStatsPCEvent::process().

Addr Linux::ThreadInfo::curThreadInfo ( )
inline
template<typename T >
bool Linux::ThreadInfo::get_data ( const char *  symbol,
T &  data 
)
inlineprivate

Member Data Documentation

Addr Linux::ThreadInfo::pcbb
private

Definition at line 47 of file threadinfo.hh.

Referenced by curThreadInfo().

System* Linux::ThreadInfo::sys
private

Definition at line 46 of file threadinfo.hh.

Referenced by get_data().

ThreadContext* Linux::ThreadInfo::tc
private

The documentation for this class was generated from the following file:

Generated on Fri Jun 9 2017 13:04:32 for gem5 by doxygen 1.8.6