gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
MultiperspectivePerceptron::FilterEntry Struct Reference

Entry of the branch filter. More...

#include <multiperspective_perceptron.hh>

Public Member Functions

 FilterEntry ()
 
bool alwaysNotTakenSoFar () const
 Whether this branch has always been observed as not taken. More...
 
bool alwaysTakenSoFar () const
 Whether this branch has always been observed as taken. More...
 
bool neverSeen () const
 Whether this branch has been observed before. More...
 

Public Attributes

bool seenTaken
 Has this branch been taken at least once? More...
 
bool seenUntaken
 Has this branch been not taken at least once? More...
 

Detailed Description

Entry of the branch filter.

Definition at line 143 of file multiperspective_perceptron.hh.

Constructor & Destructor Documentation

◆ FilterEntry()

MultiperspectivePerceptron::FilterEntry::FilterEntry ( )
inline

Definition at line 149 of file multiperspective_perceptron.hh.

Member Function Documentation

◆ alwaysNotTakenSoFar()

bool MultiperspectivePerceptron::FilterEntry::alwaysNotTakenSoFar ( ) const
inline

Whether this branch has always been observed as not taken.

Definition at line 152 of file multiperspective_perceptron.hh.

References seenTaken, and seenUntaken.

◆ alwaysTakenSoFar()

bool MultiperspectivePerceptron::FilterEntry::alwaysTakenSoFar ( ) const
inline

Whether this branch has always been observed as taken.

Definition at line 156 of file multiperspective_perceptron.hh.

References seenTaken, and seenUntaken.

◆ neverSeen()

bool MultiperspectivePerceptron::FilterEntry::neverSeen ( ) const
inline

Whether this branch has been observed before.

Definition at line 160 of file multiperspective_perceptron.hh.

References seenTaken, and seenUntaken.

Member Data Documentation

◆ seenTaken

bool MultiperspectivePerceptron::FilterEntry::seenTaken

Has this branch been taken at least once?

Definition at line 145 of file multiperspective_perceptron.hh.

Referenced by alwaysNotTakenSoFar(), alwaysTakenSoFar(), neverSeen(), and MultiperspectivePerceptron::update().

◆ seenUntaken

bool MultiperspectivePerceptron::FilterEntry::seenUntaken

Has this branch been not taken at least once?

Definition at line 147 of file multiperspective_perceptron.hh.

Referenced by alwaysNotTakenSoFar(), alwaysTakenSoFar(), neverSeen(), and MultiperspectivePerceptron::update().


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

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