gem5  v22.0.0.2
Public Member Functions | Public Attributes | List of all members
gem5::branch_prediction::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 150 of file multiperspective_perceptron.hh.

Constructor & Destructor Documentation

◆ FilterEntry()

gem5::branch_prediction::MultiperspectivePerceptron::FilterEntry::FilterEntry ( )
inline

Definition at line 157 of file multiperspective_perceptron.hh.

Member Function Documentation

◆ alwaysNotTakenSoFar()

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

Whether this branch has always been observed as not taken.

Definition at line 160 of file multiperspective_perceptron.hh.

References seenTaken, and seenUntaken.

◆ alwaysTakenSoFar()

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

Whether this branch has always been observed as taken.

Definition at line 164 of file multiperspective_perceptron.hh.

References seenTaken, and seenUntaken.

◆ neverSeen()

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

Whether this branch has been observed before.

Definition at line 168 of file multiperspective_perceptron.hh.

References seenTaken, and seenUntaken.

Member Data Documentation

◆ seenTaken

bool gem5::branch_prediction::MultiperspectivePerceptron::FilterEntry::seenTaken

Has this branch been taken at least once?

Definition at line 153 of file multiperspective_perceptron.hh.

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

◆ seenUntaken

bool gem5::branch_prediction::MultiperspectivePerceptron::FilterEntry::seenUntaken

Has this branch been not taken at least once?

Definition at line 155 of file multiperspective_perceptron.hh.

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


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

Generated on Thu Jul 28 2022 13:33:26 for gem5 by doxygen 1.8.17