#include <SamplePrefetcher.h>
Onikiri::SamplePrefetcherに対する継承グラフ
Public メソッド | |
virtual void | Finalize () |
virtual void | Initialize (InitPhase phase) |
virtual void | OnCacheAccess (Cache *cache, const CacheAccess &access, bool hit) |
SamplePrefetcher () | |
virtual | ~SamplePrefetcher () |
SamplePrefetcher.h の 57 行で定義されています。
Onikiri::SamplePrefetcher::SamplePrefetcher | ( | ) | [inline] |
virtual Onikiri::SamplePrefetcher::~SamplePrefetcher | ( | ) | [inline, virtual] |
virtual void Onikiri::SamplePrefetcher::Finalize | ( | ) | [inline, virtual] |
Onikiri::PhysicalResourceNodeを再定義しています。
SamplePrefetcher.h の 88 行で定義されています。
参照先 Onikiri::PhysicalResourceNode::Finalize()・Onikiri::PhysicalResourceNode::ReleaseParam().
00089 { 00090 ReleaseParam(); 00091 00092 // Finalize of a base class must be called. 00093 PrefetcherBase::Finalize(); 00094 }
関数の呼び出しグラフ:
virtual void Onikiri::SamplePrefetcher::Initialize | ( | InitPhase | phase | ) | [inline, virtual] |
Onikiri::PrefetcherBaseを再定義しています。
SamplePrefetcher.h の 72 行で定義されています。
参照先 Onikiri::PhysicalResourceNode::INIT_POST_CONNECTION・Onikiri::PhysicalResourceNode::INIT_PRE_CONNECTION・Onikiri::PrefetcherBase::Initialize()・Onikiri::ParamExchange::LoadParam().
00073 { 00074 // Initialize of a base class must be called. 00075 PrefetcherBase::Initialize( phase ); 00076 00077 if( phase == INIT_PRE_CONNECTION ){ 00078 00079 // After constructing and before object connection. 00080 // LoadParam() must be called in this phase or later. 00081 LoadParam(); 00082 00083 } 00084 else if ( phase == INIT_POST_CONNECTION ){ 00085 } 00086 }
関数の呼び出しグラフ:
virtual void Onikiri::SamplePrefetcher::OnCacheAccess | ( | Cache * | cache, | |
const CacheAccess & | access, | |||
bool | hit | |||
) | [inline, virtual] |
Onikiri::PrefetcherBaseを実装しています。
SamplePrefetcher.h の 96 行で定義されています。
参照先 Onikiri::Addr::address・Onikiri::MemAccess::address・Onikiri::PrefetcherBase::m_lineSize・Onikiri::CacheAccess::OT_PREFETCH・Onikiri::PrefetcherBase::Prefetch()・Onikiri::CacheAccess::type.
00097 { 00098 // If the cache access is miss, prefetch a next line. 00099 if( !hit ){ 00100 CacheAccess prefetch = access; 00101 00102 // If you need an original address, it can be obtained from 'op'. 00103 // 'access' may be masked by a line offset. 00104 //CacheAccess access( op->GetMemAccess(), op, CacheAccess::OT_READ ); 00105 00106 prefetch.type = CacheAccess::OT_PREFETCH; 00107 prefetch.address.address += PrefetcherBase::m_lineSize; 00108 00109 // Prefetch target is set to PrefetcherBase from XML. 00110 Prefetch( prefetch ); 00111 } 00112 }
関数の呼び出しグラフ: