gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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. 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...
 

Detailed Description

This struct stores a line in the trace file.

Definition at line 505 of file generators.hh.

Member Function Documentation

void TraceGen::TraceElement::clear ( )
inline

Make this element invalid.

Definition at line 534 of file generators.hh.

References cmd, and MemCmd::InvalidCmd.

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

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

Check validity of this element.

Returns
if this element is valid

Definition at line 527 of file generators.hh.

References cmd, and MemCmd::InvalidCmd.

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

Member Data Documentation

Addr TraceGen::TraceElement::addr

The address for the request.

Definition at line 511 of file generators.hh.

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

Addr TraceGen::TraceElement::blocksize

The size of the access for the request.

Definition at line 514 of file generators.hh.

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

MemCmd TraceGen::TraceElement::cmd

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

Definition at line 508 of file generators.hh.

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

Request::FlagsType TraceGen::TraceElement::flags

Potential request flags to use.

Definition at line 520 of file generators.hh.

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

Tick TraceGen::TraceElement::tick

The time at which the request should be sent.

Definition at line 517 of file generators.hh.

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


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

Generated on Fri Jun 9 2017 13:04:22 for gem5 by doxygen 1.8.6