#include <CkCache.h>
Public Member Functions | |
CkCacheEntry (CkCacheKey key, CkArrayIndex &home, CkCacheEntryType< CkCacheKey > *type) | |
~CkCacheEntry () | |
void | writeback () |
Data Fields | |
CkCacheKey | key |
CkArrayIndex | home |
CkCacheEntryType< CkCacheKey > * | type |
std::vector < CkCacheRequestorData < CkCacheKey > > | requestorVec |
void * | data |
bool | requestSent |
bool | replyRecvd |
bool | writtenBack |
int | totalRequests |
total number of requests to this cache entry | |
int | misses |
total number of requests that missed this entry, if the request is to another TreePiece in the local processor we never miss |
Definition at line 141 of file CkCache.h.
CkCacheEntry< CkCacheKey >::CkCacheEntry | ( | CkCacheKey | key, | |
CkArrayIndex & | home, | |||
CkCacheEntryType< CkCacheKey > * | type | |||
) | [inline] |
CkCacheEntry< CkCacheKey >::~CkCacheEntry | ( | ) | [inline] |
Definition at line 174 of file CkCache.h.
References CkCacheEntry< CkCacheKey >::data, CkCacheEntry< CkCacheKey >::requestorVec, CkCacheEntry< CkCacheKey >::type, CkCacheEntry< CkCacheKey >::writeback(), and CkCacheEntry< CkCacheKey >::writtenBack.
void CkCacheEntry< CkCacheKey >::writeback | ( | ) | [inline] |
Definition at line 180 of file CkCache.h.
References CkCacheEntry< CkCacheKey >::data, CkCacheEntry< CkCacheKey >::home, CkCacheEntry< CkCacheKey >::key, CkCacheEntry< CkCacheKey >::type, and CkCacheEntry< CkCacheKey >::writtenBack.
Referenced by CkCacheManager< CkCacheKey >::writebackChunk(), and CkCacheEntry< CkCacheKey >::~CkCacheEntry().
CkCacheKey CkCacheEntry< CkCacheKey >::key |
Definition at line 143 of file CkCache.h.
Referenced by CkCacheManager< CkCacheKey >::recvData(), and CkCacheEntry< CkCacheKey >::writeback().
CkArrayIndex CkCacheEntry< CkCacheKey >::home |
Definition at line 144 of file CkCache.h.
Referenced by CkCacheManager< CkCacheKey >::recvData(), CkCacheManager< CkCacheKey >::requestData(), and CkCacheEntry< CkCacheKey >::writeback().
CkCacheEntryType<CkCacheKey>* CkCacheEntry< CkCacheKey >::type |
Definition at line 145 of file CkCache.h.
Referenced by CkCacheManager< CkCacheKey >::finishedChunk(), CkCacheManager< CkCacheKey >::recvData(), CkCacheEntry< CkCacheKey >::writeback(), and CkCacheEntry< CkCacheKey >::~CkCacheEntry().
std::vector< CkCacheRequestorData<CkCacheKey> > CkCacheEntry< CkCacheKey >::requestorVec |
Definition at line 146 of file CkCache.h.
Referenced by CkCacheManager< CkCacheKey >::recvData(), CkCacheManager< CkCacheKey >::requestData(), and CkCacheEntry< CkCacheKey >::~CkCacheEntry().
void* CkCacheEntry< CkCacheKey >::data |
Definition at line 148 of file CkCache.h.
Referenced by CkCacheEntry< CkCacheKey >::CkCacheEntry(), CkCacheManager< CkCacheKey >::finishedChunk(), CkCacheManager< CkCacheKey >::recvData(), CkCacheManager< CkCacheKey >::requestData(), CkCacheEntry< CkCacheKey >::writeback(), and CkCacheEntry< CkCacheKey >::~CkCacheEntry().
bool CkCacheEntry< CkCacheKey >::requestSent |
Definition at line 150 of file CkCache.h.
Referenced by CkCacheEntry< CkCacheKey >::CkCacheEntry(), and CkCacheManager< CkCacheKey >::requestData().
bool CkCacheEntry< CkCacheKey >::replyRecvd |
Definition at line 151 of file CkCache.h.
Referenced by CkCacheEntry< CkCacheKey >::CkCacheEntry(), CkCacheManager< CkCacheKey >::recvData(), and CkCacheManager< CkCacheKey >::requestData().
bool CkCacheEntry< CkCacheKey >::writtenBack |
Definition at line 152 of file CkCache.h.
Referenced by CkCacheEntry< CkCacheKey >::CkCacheEntry(), CkCacheEntry< CkCacheKey >::writeback(), and CkCacheEntry< CkCacheKey >::~CkCacheEntry().
int CkCacheEntry< CkCacheKey >::totalRequests |
total number of requests to this cache entry
Definition at line 155 of file CkCache.h.
Referenced by CkCacheEntry< CkCacheKey >::CkCacheEntry(), and CkCacheManager< CkCacheKey >::requestData().
int CkCacheEntry< CkCacheKey >::misses |
total number of requests that missed this entry, if the request is to another TreePiece in the local processor we never miss
Definition at line 158 of file CkCache.h.
Referenced by CkCacheEntry< CkCacheKey >::CkCacheEntry(), and CkCacheManager< CkCacheKey >::requestData().