PPL Logo

MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE > Class Template Reference

#include <msa-DistPageMgr.h>

Inheritance diagram for MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >:

Inheritance graph
[legend]
Collaboration diagram for MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >:

Collaboration graph
[legend]

Public Member Functions

 MSA_PageArray ()
 MSA_PageArray (CkMigrateMessage *m)
void setCacheProxy (CProxy_CacheGroup_t &cache_)
void pup (PUP::er &p)
 ~MSA_PageArray ()
void GetPage (int pe)
 Request our page.
void PAReceivePage (ENTRY_TYPE *pageData, int pe, MSA_Page_Fault_t pageState)
 Receive a non-runlength encoded page from the network:.
void PAReceiveRLEPageWithPup (const MSA_WriteSpan_t *spans, unsigned int nSpans, page_t &entries, unsigned int nEntries, int pe, MSA_Page_Fault_t pageState)
 Receive a runlength encoded page from the network:.
void PAReceiveRLEPage (const MSA_WriteSpan_t *spans, unsigned int nSpans, const ENTRY_TYPE *entries, unsigned int nEntries, int pe, MSA_Page_Fault_t pageState)
void Sync (bool clear)
void emit (int ID, int index)

Protected Member Functions

unsigned int pageNo ()
void allocatePage (MSA_Page_Fault_t access)
void set (const ENTRY_TYPE *buffer, unsigned int begin, unsigned int end)
void combine (const ENTRY_TYPE *buffer, unsigned int begin, unsigned int end)
void writeIdentity ()

Protected Attributes

ENTRY_TYPE * epage
ENTRY_OPS_CLASS entryOpsObject
CProxy_CacheGroup_t cache

Private Types

typedef CProxy_MSA_CacheGroup
< ENTRY_TYPE, ENTRY_OPS_CLASS,
ENTRIES_PER_PAGE > 
CProxy_CacheGroup_t
typedef MSA_PageT< ENTRY_TYPE,
ENTRY_OPS_CLASS,
ENTRIES_PER_PAGE > 
page_t

Detailed Description

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
class MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >

Definition at line 1261 of file msa-DistPageMgr.h.


Member Typedef Documentation

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
typedef CProxy_MSA_CacheGroup<ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE> MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::CProxy_CacheGroup_t [private]

Definition at line 1263 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
typedef MSA_PageT<ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE> MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::page_t [private]

Definition at line 1264 of file msa-DistPageMgr.h.


Constructor & Destructor Documentation

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::MSA_PageArray (  )  [inline]

Definition at line 1308 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::MSA_PageArray ( CkMigrateMessage m  )  [inline]

Definition at line 1309 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::~MSA_PageArray (  )  [inline]

Definition at line 1328 of file msa-DistPageMgr.h.


Member Function Documentation

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
unsigned int MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::pageNo (  )  [inline, protected]

Definition at line 1271 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::allocatePage ( MSA_Page_Fault_t  access  )  [inline, protected]

Definition at line 1273 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::set ( const ENTRY_TYPE *  buffer,
unsigned int  begin,
unsigned int  end 
) [inline, protected]

Definition at line 1283 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::combine ( const ENTRY_TYPE *  buffer,
unsigned int  begin,
unsigned int  end 
) [inline, protected]

Definition at line 1293 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::writeIdentity (  )  [inline, protected]

Definition at line 1301 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::setCacheProxy ( CProxy_CacheGroup_t cache_  )  [inline]

Definition at line 1311 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::pup ( PUP::er p  )  [inline]

Definition at line 1316 of file msa-DistPageMgr.h.

References PUP::er::isUnpacking(), and Write_Fault.

Here is the call graph for this function:

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::GetPage ( int  pe  )  [inline]

Request our page.

pe = to which to send page

Definition at line 1335 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::PAReceivePage ( ENTRY_TYPE *  pageData,
int  pe,
MSA_Page_Fault_t  pageState 
) [inline]

Receive a non-runlength encoded page from the network:.

Definition at line 1354 of file msa-DistPageMgr.h.

References combine(), and Write_Fault.

Here is the call graph for this function:

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::PAReceiveRLEPageWithPup ( const MSA_WriteSpan_t spans,
unsigned int  nSpans,
page_t entries,
unsigned int  nEntries,
int  pe,
MSA_Page_Fault_t  pageState 
) [inline]

Receive a runlength encoded page from the network:.

Definition at line 1370 of file msa-DistPageMgr.h.

References MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::getData().

Here is the call graph for this function:

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::PAReceiveRLEPage ( const MSA_WriteSpan_t spans,
unsigned int  nSpans,
const ENTRY_TYPE *  entries,
unsigned int  nEntries,
int  pe,
MSA_Page_Fault_t  pageState 
) [inline]

Definition at line 1379 of file msa-DistPageMgr.h.

References combine(), MSA_WriteSpan_t::end, PUP::s, MSA_WriteSpan_t::start, and Write_Fault.

Here is the call graph for this function:

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::Sync ( bool  clear  )  [inline]

Definition at line 1402 of file msa-DistPageMgr.h.

References cb, and CkReduction::concat.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
void MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::emit ( int  ID,
int  index 
) [inline]

Definition at line 1411 of file msa-DistPageMgr.h.


Field Documentation

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
ENTRY_TYPE* MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::epage [protected]

Definition at line 1267 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
ENTRY_OPS_CLASS MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::entryOpsObject [protected]

Definition at line 1268 of file msa-DistPageMgr.h.

template<class ENTRY_TYPE, class ENTRY_OPS_CLASS, unsigned int ENTRIES_PER_PAGE>
CProxy_CacheGroup_t MSA_PageArray< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::cache [protected]

Definition at line 1269 of file msa-DistPageMgr.h.


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

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