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

A request lookup must be followed by a call to finishRequest to inform the operation's success. More...

Public Member Functions

 ReqLookupResult (SnoopFilterCache::iterator end_it)
 The constructor must be informed of the internal cache's end iterator, so do not allow the compiler to implictly define it. More...
 
 ReqLookupResult ()=delete
 

Public Attributes

SnoopFilterCache::iterator it
 Iterator used to store the result from lookupRequest. More...
 
SnoopItem retryItem
 Variable to temporarily store value of snoopfilter entry in case finishRequest needs to undo changes made in lookupRequest (because of crossbar retry) More...
 

Detailed Description

A request lookup must be followed by a call to finishRequest to inform the operation's success.

If a retry is needed, however, all changes made to the snoop filter while performing the lookup must be undone. This structure keeps track of the state previous to such changes.

Definition at line 269 of file snoop_filter.hh.

Constructor & Destructor Documentation

◆ ReqLookupResult() [1/2]

SnoopFilter::ReqLookupResult::ReqLookupResult ( SnoopFilterCache::iterator  end_it)
inline

The constructor must be informed of the internal cache's end iterator, so do not allow the compiler to implictly define it.

Parameters
end_itIterator to the end of the internal cache.

Definition at line 286 of file snoop_filter.hh.

◆ ReqLookupResult() [2/2]

SnoopFilter::ReqLookupResult::ReqLookupResult ( )
delete

Member Data Documentation

◆ it

SnoopFilterCache::iterator SnoopFilter::ReqLookupResult::it

Iterator used to store the result from lookupRequest.

Definition at line 271 of file snoop_filter.hh.

Referenced by SnoopFilter::finishRequest(), and SnoopFilter::lookupRequest().

◆ retryItem

SnoopItem SnoopFilter::ReqLookupResult::retryItem

Variable to temporarily store value of snoopfilter entry in case finishRequest needs to undo changes made in lookupRequest (because of crossbar retry)

Definition at line 278 of file snoop_filter.hh.

Referenced by SnoopFilter::finishRequest(), and SnoopFilter::lookupRequest().


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

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