gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
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. More...
 
void clear ()
 Make this element invalid. More...
 

Public Attributes

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

Detailed Description

This struct stores a line in the trace file.

Definition at line 347 of file trace_cpu.hh.

Member Function Documentation

◆ clear()

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

Make this element invalid.

Definition at line 379 of file trace_cpu.hh.

References cmd, and MemCmd::InvalidCmd.

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

◆ isValid()

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

Check validity of this element.

Returns
if this element is valid

Definition at line 372 of file trace_cpu.hh.

References cmd, and MemCmd::InvalidCmd.

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

Member Data Documentation

◆ addr

Addr TraceCPU::FixedRetryGen::TraceElement::addr

◆ blocksize

Addr TraceCPU::FixedRetryGen::TraceElement::blocksize

The size of the access for the request.

Definition at line 356 of file trace_cpu.hh.

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

◆ cmd

MemCmd TraceCPU::FixedRetryGen::TraceElement::cmd

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

Definition at line 350 of file trace_cpu.hh.

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

◆ flags

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

Potential request flags to use.

Definition at line 362 of file trace_cpu.hh.

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

◆ pc

Addr TraceCPU::FixedRetryGen::TraceElement::pc

◆ tick

Tick TraceCPU::FixedRetryGen::TraceElement::tick

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

Generated on Wed Sep 30 2020 14:02:33 for gem5 by doxygen 1.8.17