Go to the documentation of this file.
41 #ifndef __INSTRECORD_HH__
42 #define __INSTRECORD_HH__
71 std::unique_ptr<PCStateBase>
pc;
182 template <
typename T,
size_t N>
190 "Type T has an unrecognized size.");
262 virtual void dump() = 0;
305 #endif // __INSTRECORD_HH__
Addr size
The size of the memory request.
uint64_t getIntData() const
StaticInstPtr getMacroStaticInst() const
double getFloatData() const
bool predicate
is the predicate for execution this inst true or false (not execed)?
virtual InstRecord * getInstRecord(Tick when, ThreadContext *tc, const StaticInstPtr staticInst, const PCStateBase &pc, const StaticInstPtr macroStaticInst=nullptr)=0
void setWhen(Tick new_when)
void setData(const RegClass ®_class, RegVal val)
unsigned getFlags() const
const PCStateBase & getPCState() const
void setFaulting(bool val)
void setPredicate(bool val)
void setData(std::array< T, N > d)
InstTracer(const Params &p)
int getDataStatus() const
void setCPSeq(InstSeqNum seq)
ThreadContext is the external interface to all thread state for anything outside of the CPU.
enum gem5::trace::InstRecord::DataStatus dataStatus
bool getFetchSeqValid() const
void setMem(Addr a, Addr s, unsigned f)
uint64_t Tick
Tick count type.
unsigned flags
The flags that were assigned to the request.
ThreadContext * getThread() const
StaticInstPtr macroStaticInst
Abstract superclass for simulation objects.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void setData(const RegClass ®_class, const void *val)
bool getCpSeqValid() const
union gem5::trace::InstRecord::Data data
StaticInstPtr getStaticInst() const
InstSeqNum getFetchSeq() const
std::unique_ptr< PCStateBase > pc
Addr addr
The address that was accessed.
InstSeqNum getCpSeq() const
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
void setFetchSeq(InstSeqNum seq)
InstRecord(Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, const PCStateBase &_pc, const StaticInstPtr _macroStaticInst=nullptr)
bool faulting
Did the execution of this instruction fault? (requires ExecFaulting to be enabled)
Generated on Sun Jul 30 2023 01:56:59 for gem5 by doxygen 1.8.17