gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::TraceGen::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.
 

Detailed Description

This struct stores a line in the trace file.

Definition at line 69 of file trace_gen.hh.

Member Function Documentation

◆ clear()

void gem5::TraceGen::TraceElement::clear ( )
inline

Make this element invalid.

Definition at line 99 of file trace_gen.hh.

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

Referenced by gem5::TraceGen::enter(), and gem5::TraceGen::getNextPacket().

◆ isValid()

bool gem5::TraceGen::TraceElement::isValid ( ) const
inline

Check validity of this element.

Returns
if this element is valid

Definition at line 92 of file trace_gen.hh.

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

Referenced by gem5::TraceGen::getNextPacket(), and gem5::TraceGen::nextPacketTick().

Member Data Documentation

◆ addr

Addr gem5::TraceGen::TraceElement::addr

The address for the request.

Definition at line 76 of file trace_gen.hh.

Referenced by gem5::TraceGen::getNextPacket(), and gem5::TraceGen::InputStream::read().

◆ blocksize

Addr gem5::TraceGen::TraceElement::blocksize

The size of the access for the request.

Definition at line 79 of file trace_gen.hh.

Referenced by gem5::TraceGen::getNextPacket(), and gem5::TraceGen::InputStream::read().

◆ cmd

MemCmd gem5::TraceGen::TraceElement::cmd

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

Definition at line 73 of file trace_gen.hh.

Referenced by clear(), gem5::TraceGen::getNextPacket(), isValid(), and gem5::TraceGen::InputStream::read().

◆ flags

Request::FlagsType gem5::TraceGen::TraceElement::flags

Potential request flags to use.

Definition at line 85 of file trace_gen.hh.

Referenced by gem5::TraceGen::getNextPacket(), and gem5::TraceGen::InputStream::read().

◆ tick

Tick gem5::TraceGen::TraceElement::tick

The time at which the request should be sent.

Definition at line 82 of file trace_gen.hh.

Referenced by gem5::TraceGen::getNextPacket(), gem5::TraceGen::nextPacketTick(), and gem5::TraceGen::InputStream::read().


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