#include <CacheExtraStateTable.h>
Onikiri::CacheExtraStateTable< ValueType, ContainerType >のコラボレーション図
Public 型 | |
typedef CacheTable::const_iterator | const_iterator |
typedef ContainerType::const_reference | ConstReferenceType |
typedef CacheTable::iterator | iterator |
typedef ContainerType::reference | ReferenceType |
Public メソッド | |
CacheExtraStateTable () | |
CacheExtraStateTable (Cache *cache) | |
ConstReferenceType | operator[] (const const_iterator &i) const |
ReferenceType | operator[] (const const_iterator &i) |
ConstReferenceType | operator[] (const iterator &i) const |
ReferenceType | operator[] (const iterator &i) |
void | Resize (Cache *cache, const ValueType &initValue=ValueType()) |
Protected メソッド | |
template<typename T> | |
size_t | GetTableIndex (const T &i) const |
Protected 変数 | |
size_t | m_indexCount |
ContainerType | m_table |
size_t | m_wayCount |
CacheExtraStateTable.h の 50 行で定義されています。
typedef CacheTable::const_iterator Onikiri::CacheExtraStateTable< ValueType, ContainerType >::const_iterator |
CacheExtraStateTable.h の 57 行で定義されています。
typedef ContainerType::const_reference Onikiri::CacheExtraStateTable< ValueType, ContainerType >::ConstReferenceType |
CacheExtraStateTable.h の 55 行で定義されています。
typedef CacheTable::iterator Onikiri::CacheExtraStateTable< ValueType, ContainerType >::iterator |
CacheExtraStateTable.h の 56 行で定義されています。
typedef ContainerType::reference Onikiri::CacheExtraStateTable< ValueType, ContainerType >::ReferenceType |
CacheExtraStateTable.h の 54 行で定義されています。
Onikiri::CacheExtraStateTable< ValueType, ContainerType >::CacheExtraStateTable | ( | Cache * | cache | ) | [inline] |
Onikiri::CacheExtraStateTable< ValueType, ContainerType >::CacheExtraStateTable | ( | ) | [inline] |
CacheExtraStateTable.h の 91 行で定義されています。
00091 : 00092 m_indexCount(0), 00093 m_wayCount(0) 00094 { 00095 }
size_t Onikiri::CacheExtraStateTable< ValueType, ContainerType >::GetTableIndex | ( | const T & | i | ) | const [inline, protected] |
CacheExtraStateTable.h の 65 行で定義されています。
参照元 Onikiri::CacheExtraStateTable< Onikiri::PrefetcherBase::ExLineState >::operator[]().
00066 { 00067 ASSERT( 00068 m_wayCount > 0 && m_indexCount > 0, 00069 "CacheExtraStateTable is not initialized." 00070 ); 00071 ASSERT( 00072 i.way() < m_wayCount && i.index() < m_indexCount, 00073 "The iterator points out of range." 00074 ); 00075 return i.way() + i.index() * m_wayCount; 00076 }
Here is the caller graph for this function:
ConstReferenceType Onikiri::CacheExtraStateTable< ValueType, ContainerType >::operator[] | ( | const const_iterator & | i | ) | const [inline] |
ReferenceType Onikiri::CacheExtraStateTable< ValueType, ContainerType >::operator[] | ( | const const_iterator & | i | ) | [inline] |
ConstReferenceType Onikiri::CacheExtraStateTable< ValueType, ContainerType >::operator[] | ( | const iterator & | i | ) | const [inline] |
ReferenceType Onikiri::CacheExtraStateTable< ValueType, ContainerType >::operator[] | ( | const iterator & | i | ) | [inline] |
void Onikiri::CacheExtraStateTable< ValueType, ContainerType >::Resize | ( | Cache * | cache, | |
const ValueType & | initValue = ValueType() | |||
) | [inline] |
CacheExtraStateTable.h の 79 行で定義されています。
参照元 Onikiri::CacheExtraStateTable< Onikiri::PrefetcherBase::ExLineState >::CacheExtraStateTable()・Onikiri::Cache::Initialize().
00080 { 00081 m_indexCount = cache->GetIndexCount(); 00082 m_wayCount = cache->GetWayCount(); 00083 m_table.resize( m_indexCount * m_wayCount, initValue ); 00084 }
Here is the caller graph for this function:
size_t Onikiri::CacheExtraStateTable< ValueType, ContainerType >::m_indexCount [protected] |
ContainerType Onikiri::CacheExtraStateTable< ValueType, ContainerType >::m_table [protected] |
size_t Onikiri::CacheExtraStateTable< ValueType, ContainerType >::m_wayCount [protected] |