gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
StridePrefetcher::PCTable Class Reference

#include <stride.hh>

Public Member Functions

 PCTable (int assoc, int sets, const std::string name)
 
StrideEntry ** operator[] (int context)
 
 ~PCTable ()
 

Private Member Functions

const std::string name ()
 
StrideEntry ** allocateNewContext (int context)
 

Private Attributes

const int pcTableAssoc
 
const int pcTableSets
 
const std::string _name
 
std::unordered_map< int,
StrideEntry ** > 
entries
 

Detailed Description

Definition at line 84 of file stride.hh.

Constructor & Destructor Documentation

StridePrefetcher::PCTable::PCTable ( int  assoc,
int  sets,
const std::string  name 
)
inline

Definition at line 87 of file stride.hh.

StridePrefetcher::PCTable::~PCTable ( )

Definition at line 92 of file stride.cc.

References StridePrefetcher::pcTableSets, and ArmISA::s.

Member Function Documentation

StridePrefetcher::StrideEntry ** StridePrefetcher::PCTable::allocateNewContext ( int  context)
private

Definition at line 74 of file stride.cc.

References chatty_assert, DPRINTF, entries, pcTableAssoc, pcTableSets, and ArmISA::s.

Referenced by operator[]().

const std::string StridePrefetcher::PCTable::name ( )
inlineprivate

Definition at line 99 of file stride.hh.

References _name.

StrideEntry** StridePrefetcher::PCTable::operator[] ( int  context)
inline

Definition at line 89 of file stride.hh.

References allocateNewContext(), and entries.

Member Data Documentation

const std::string StridePrefetcher::PCTable::_name
private

Definition at line 102 of file stride.hh.

Referenced by name().

std::unordered_map<int, StrideEntry**> StridePrefetcher::PCTable::entries
private

Definition at line 103 of file stride.hh.

Referenced by allocateNewContext(), and operator[]().

const int StridePrefetcher::PCTable::pcTableAssoc
private

Definition at line 100 of file stride.hh.

Referenced by allocateNewContext().

const int StridePrefetcher::PCTable::pcTableSets
private

Definition at line 101 of file stride.hh.

Referenced by allocateNewContext().


The documentation for this class was generated from the following files:

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