|
gem5
v21.2.1.1
|
#include <nativetrace.hh>
Public Member Functions | |
| NativeTraceRecord (NativeTrace *_parent, Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, const PCStateBase &_pc, const StaticInstPtr _macroStaticInst=nullptr) | |
| void | dump () |
Public Member Functions inherited from gem5::Trace::ExeTracerRecord | |
| ExeTracerRecord (Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, const PCStateBase &_pc, const StaticInstPtr _macroStaticInst=NULL) | |
| void | traceInst (const StaticInstPtr &inst, bool ran) |
Public Member Functions inherited from gem5::Trace::InstRecord | |
| InstRecord (Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, const PCStateBase &_pc, const StaticInstPtr _macroStaticInst=nullptr) | |
| virtual | ~InstRecord () |
| void | setWhen (Tick new_when) |
| void | setMem (Addr a, Addr s, unsigned f) |
| template<typename T , size_t N> | |
| void | setData (std::array< T, N > d) |
| void | setData (uint64_t d) |
| void | setData (uint32_t d) |
| void | setData (uint16_t d) |
| void | setData (uint8_t d) |
| void | setData (int64_t d) |
| void | setData (int32_t d) |
| void | setData (int16_t d) |
| void | setData (int8_t d) |
| void | setData (double d) |
| void | setData (TheISA::VecRegContainer &d) |
| void | setData (TheISA::VecPredRegContainer &d) |
| void | setFetchSeq (InstSeqNum seq) |
| void | setCPSeq (InstSeqNum seq) |
| void | setPredicate (bool val) |
| void | setFaulting (bool val) |
| Tick | getWhen () const |
| ThreadContext * | getThread () const |
| StaticInstPtr | getStaticInst () const |
| const PCStateBase & | getPCState () const |
| StaticInstPtr | getMacroStaticInst () const |
| Addr | getAddr () const |
| Addr | getSize () const |
| unsigned | getFlags () const |
| bool | getMemValid () const |
| uint64_t | getIntData () const |
| double | getFloatData () const |
| int | getDataStatus () const |
| InstSeqNum | getFetchSeq () const |
| bool | getFetchSeqValid () const |
| InstSeqNum | getCpSeq () const |
| bool | getCpSeqValid () const |
| bool | getFaulting () const |
Protected Attributes | |
| NativeTrace * | parent |
Protected Attributes inherited from gem5::Trace::InstRecord | |
| Tick | when |
| ThreadContext * | thread |
| StaticInstPtr | staticInst |
| std::unique_ptr< PCStateBase > | pc |
| StaticInstPtr | macroStaticInst |
| Addr | addr |
| The address that was accessed. More... | |
| Addr | size |
| The size of the memory request. More... | |
| unsigned | flags |
| The flags that were assigned to the request. More... | |
| union { | |
| uint64_t as_int | |
| double as_double | |
| TheISA::VecRegContainer * as_vec | |
| TheISA::VecPredRegContainer * as_pred | |
| } | data |
| InstSeqNum | fetch_seq |
| InstSeqNum | cp_seq |
| enum gem5::Trace::InstRecord::DataStatus | data_status |
| bool | mem_valid |
| bool | fetch_seq_valid |
| bool | cp_seq_valid |
| bool | predicate |
| is the predicate for execution this inst true or false (not execed)? More... | |
| bool | faulting |
| Did the execution of this instruction fault? (requires ExecFaulting to be enabled) More... | |
Additional Inherited Members | |
Protected Types inherited from gem5::Trace::InstRecord | |
| enum | DataStatus { DataInvalid = 0, DataInt8 = 1, DataInt16 = 2, DataInt32 = 4, DataInt64 = 8, DataDouble = 3, DataVec = 5, DataVecPred = 6 } |
Definition at line 51 of file nativetrace.hh.
|
inline |
Definition at line 57 of file nativetrace.hh.
|
virtual |
Reimplemented from gem5::Trace::ExeTracerRecord.
Definition at line 58 of file nativetrace.cc.
|
protected |
Definition at line 54 of file nativetrace.hh.