gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
MipsISA::ProcessInfo Class Reference

#include <stacktrace.hh>

Public Member Functions

 ProcessInfo (ThreadContext *_tc)
 
Addr task (Addr ksp) const
 
int pid (Addr ksp) const
 
std::string name (Addr ksp) const
 

Private Attributes

ThreadContexttc
 
int task_off
 
int pid_off
 
int name_off
 

Detailed Description

Definition at line 41 of file stacktrace.hh.

Constructor & Destructor Documentation

◆ ProcessInfo()

ProcessInfo::ProcessInfo ( ThreadContext _tc)

Definition at line 43 of file stacktrace.cc.

Member Function Documentation

◆ name()

std::string ProcessInfo::name ( Addr  ksp) const

Definition at line 77 of file stacktrace.cc.

References ThreadContext::getVirtProxy(), name_off, PortProxy::readString(), task(), and tc.

◆ pid()

int ProcessInfo::pid ( Addr  ksp) const

◆ task()

Addr ProcessInfo::task ( Addr  ksp) const

Definition at line 47 of file stacktrace.cc.

References X86ISA::base, ThreadContext::getVirtProxy(), MipsISA::GuestByteOrder, PortProxy::read(), task_off, tc, and ULL.

Referenced by name(), and pid().

Member Data Documentation

◆ name_off

int MipsISA::ProcessInfo::name_off
private

Definition at line 48 of file stacktrace.hh.

Referenced by name().

◆ pid_off

int MipsISA::ProcessInfo::pid_off
private

Definition at line 47 of file stacktrace.hh.

Referenced by pid().

◆ task_off

int MipsISA::ProcessInfo::task_off
private

Definition at line 46 of file stacktrace.hh.

Referenced by task().

◆ tc

ThreadContext* MipsISA::ProcessInfo::tc
private

Definition at line 44 of file stacktrace.hh.

Referenced by name(), pid(), and task().


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

Generated on Mon Jun 8 2020 15:45:58 for gem5 by doxygen 1.8.13