gem5
v21.2.1.0
|
TimeBuffer with MinorTrace and Named interfaces. More...
#include <buffers.hh>
Public Member Functions | |
MinorBuffer (const std::string &name, const std::string &data_name, int num_past, int num_future, int report_left=-1, int report_right=-1) | |
bool | empty () const |
void | minorTrace () const |
Report buffer states from 'slot' 'from' to 'to'. More... | |
![]() | |
Named (const std::string &name_) | |
virtual | ~Named ()=default |
virtual std::string | name () const |
![]() | |
TimeBuffer (int p, int f) | |
TimeBuffer () | |
~TimeBuffer () | |
void | id (int id) |
int | id () |
void | advance () |
ElemType * | access (int idx) |
ElemType & | operator[] (int idx) |
const ElemType & | operator[] (int idx) const |
wire | getWire (int idx) |
wire | zero () |
unsigned | getSize () |
Protected Attributes | |
int | reportLeft |
The range of elements that should appear in trace lines. More... | |
int | reportRight |
std::string | dataName |
Name to use for the data in a MinorTrace line. More... | |
![]() | |
int | past |
int | future |
unsigned | size |
int | _id |
char * | data |
std::vector< char * > | index |
unsigned | base |
Additional Inherited Members | |
![]() | |
void | valid (int idx) const |
int | calculateVectorIndex (int idx) const |
TimeBuffer with MinorTrace and Named interfaces.
Definition at line 159 of file buffers.hh.
|
inline |
Definition at line 169 of file buffers.hh.
|
inline |
Definition at line 181 of file buffers.hh.
Referenced by gem5::minor::Latch< gem5::minor::BranchData >::empty().
|
inline |
Report buffer states from 'slot' 'from' to 'to'.
For example 0,-1 will produce two slices with current (just assigned) and last (one advance() old) slices with the current (0) one on the left. Reverse the numbers to change the order of slices
Definition at line 198 of file buffers.hh.
Referenced by gem5::minor::Latch< gem5::minor::BranchData >::minorTrace().
|
protected |
Name to use for the data in a MinorTrace line.
Definition at line 166 of file buffers.hh.
Referenced by gem5::minor::MinorBuffer< gem5::minor::BranchData >::minorTrace().
|
protected |
The range of elements that should appear in trace lines.
Definition at line 163 of file buffers.hh.
Referenced by gem5::minor::MinorBuffer< gem5::minor::BranchData >::minorTrace().
|
protected |
Definition at line 163 of file buffers.hh.
Referenced by gem5::minor::MinorBuffer< gem5::minor::BranchData >::minorTrace().