PPL Logo

CkCacheEntry< CkCacheKey > Class Template Reference

#include <CkCache.h>

Collaboration diagram for CkCacheEntry< CkCacheKey >:

Collaboration graph
[legend]

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

Detailed Description

template<class CkCacheKey>
class CkCacheEntry< CkCacheKey >

Definition at line 141 of file CkCache.h.


Constructor & Destructor Documentation

template<class CkCacheKey>
CkCacheEntry< CkCacheKey >::CkCacheEntry ( CkCacheKey  key,
CkArrayIndex &  home,
CkCacheEntryType< CkCacheKey > *  type 
) [inline]

template<class CkCacheKey>
CkCacheEntry< CkCacheKey >::~CkCacheEntry (  )  [inline]


Member Function Documentation

template<class CkCacheKey>
void CkCacheEntry< CkCacheKey >::writeback (  )  [inline]


Field Documentation

template<class CkCacheKey>
CkCacheKey CkCacheEntry< CkCacheKey >::key

template<class CkCacheKey>
CkArrayIndex CkCacheEntry< CkCacheKey >::home

template<class CkCacheKey>
CkCacheEntryType<CkCacheKey>* CkCacheEntry< CkCacheKey >::type

template<class CkCacheKey>
std::vector< CkCacheRequestorData<CkCacheKey> > CkCacheEntry< CkCacheKey >::requestorVec

template<class CkCacheKey>
void* CkCacheEntry< CkCacheKey >::data

template<class CkCacheKey>
bool CkCacheEntry< CkCacheKey >::requestSent

template<class CkCacheKey>
bool CkCacheEntry< CkCacheKey >::replyRecvd

template<class CkCacheKey>
bool CkCacheEntry< CkCacheKey >::writtenBack

template<class CkCacheKey>
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().

template<class CkCacheKey>
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().


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

Generated on Mon Sep 21 08:19:27 2020 for Charm++ by  doxygen 1.5.5