gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::TraceCPU::FixedRetryGen::TraceElement Struct Reference

This struct stores a line in the trace file. More...

Public Member Functions

bool isValid () const
 Check validity of this element.
 
void clear ()
 Make this element invalid.
 

Public Attributes

MemCmd cmd
 Specifies if the request is to be a read or a write.
 
Addr addr
 The address for the request.
 
Addr blocksize
 The size of the access for the request.
 
Tick tick
 The time at which the request should be sent.
 
Request::FlagsType flags
 Potential request flags to use.
 
Addr pc
 Instruction PC.
 

Detailed Description

This struct stores a line in the trace file.

Definition at line 320 of file trace_cpu.hh.

Member Function Documentation

◆ clear()

void gem5::TraceCPU::FixedRetryGen::TraceElement::clear ( )
inline

Make this element invalid.

Definition at line 351 of file trace_cpu.hh.

References cmd, and gem5::MemCmd::InvalidCmd.

Referenced by gem5::TraceCPU::FixedRetryGen::nextExecute().

◆ isValid()

bool gem5::TraceCPU::FixedRetryGen::TraceElement::isValid ( ) const
inline

Check validity of this element.

Returns
if this element is valid

Definition at line 346 of file trace_cpu.hh.

References cmd, and gem5::MemCmd::InvalidCmd.

Referenced by gem5::TraceCPU::FixedRetryGen::tryNext().

Member Data Documentation

◆ addr

Addr gem5::TraceCPU::FixedRetryGen::TraceElement::addr

◆ blocksize

Addr gem5::TraceCPU::FixedRetryGen::TraceElement::blocksize

◆ cmd

MemCmd gem5::TraceCPU::FixedRetryGen::TraceElement::cmd

Specifies if the request is to be a read or a write.

Definition at line 324 of file trace_cpu.hh.

Referenced by clear(), isValid(), gem5::TraceCPU::FixedRetryGen::nextExecute(), gem5::TraceCPU::FixedRetryGen::InputStream::read(), and gem5::TraceCPU::FixedRetryGen::tryNext().

◆ flags

Request::FlagsType gem5::TraceCPU::FixedRetryGen::TraceElement::flags

Potential request flags to use.

Definition at line 336 of file trace_cpu.hh.

Referenced by gem5::TraceCPU::FixedRetryGen::InputStream::read(), and gem5::TraceCPU::FixedRetryGen::tryNext().

◆ pc

Addr gem5::TraceCPU::FixedRetryGen::TraceElement::pc

◆ tick

Tick gem5::TraceCPU::FixedRetryGen::TraceElement::tick

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

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0