

Public Member Functions | |
| mCastEntry (CkArrayID _aid) | |
| mCastEntry (mCastEntry *) | |
| int | hasParent () |
| Check if this tree is only a branch and has a parent. | |
| int | isObsolete () |
| Is this tree obsolete? | |
| void | setObsolete () |
| Make the current tree obsolete. | |
| int | notReady () |
| Check if this (branch of the) tree is ready for use. | |
| void | setReady () |
| Mark this (branch of the) tree as ready for use. | |
| void | incReduceNo () |
| Increment the reduction number across the whole linked list of cookies. | |
| CkArrayID | getAid () |
| Get a handle on the array ID this tree is a member of. | |
| int | hasOldtree () |
| void | print () |
Data Fields | |
| CkArrayID | aid |
| Array ID. | |
| CkSectionInfo | parentGrp |
| Spanning tree parent. | |
| sectionIdList | children |
| List of direct children. | |
| int | numChild |
| Number of direct children. | |
| arrayIndexList | allElem |
| List of all tree member array indices (Only useful on the tree root). | |
| ObjKeyList | allObjKeys |
| Only useful on root for LB. | |
| arrayIndexList | localElem |
| List of array elements on local PE. | |
| int | pe |
| Should always be myPE. | |
| CkSectionInfo | rootSid |
| Section ID of the root. | |
| multicastGrpMsgBuf | msgBuf |
| multicastGrpPacketBuf | packetBuf |
| Buffer storing the pending packets. | |
| char * | asm_msg |
| For multicast packetization. | |
| int | asm_fill |
| mCastEntry * | oldc |
| Linked list of entries on the same processor. | |
| mCastEntry * | newc |
| SectionLocation | oldtree |
| Old spanning tree. | |
| reductionInfo | red |
| char | needRebuild |
Private Attributes | |
| char | flag |
Definition at line 111 of file ckmulticast.C.
| mCastEntry::mCastEntry | ( | CkArrayID | _aid | ) | [inline] |
Definition at line 149 of file ckmulticast.C.
| mCastEntry::mCastEntry | ( | mCastEntry * | old | ) |
Definition at line 223 of file ckmulticast.C.
References aid, allElem, allObjKeys, asm_fill, asm_msg, CkVec< T >::length(), needRebuild, parentGrp, pe, CkVec< T >::push_back(), red, reductionInfo::redNo, reductionInfo::storedCallback, reductionInfo::storedClient, and reductionInfo::storedClientParam.
| int mCastEntry::hasParent | ( | void | ) | [inline] |
Check if this tree is only a branch and has a parent.
Definition at line 153 of file ckmulticast.C.
References CkSectionInfo::get_val(), and parentGrp.
Referenced by CkMulticastMgr::childrenReady(), CkMulticastMgr::recvRedMsg(), and CkMulticastMgr::reduceFragment().
| int mCastEntry::isObsolete | ( | ) | [inline] |
Is this tree obsolete?
Definition at line 155 of file ckmulticast.C.
References flag.
Referenced by CkMulticastMgr::rebuild(), and CkMulticastMgr::recvRedMsg().
| void mCastEntry::setObsolete | ( | ) | [inline] |
Make the current tree obsolete.
Definition at line 157 of file ckmulticast.C.
References flag.
Referenced by CkMulticastMgr::rebuild(), CkMulticastMgr::retire(), and CkMulticastMgr::teardown().
| int mCastEntry::notReady | ( | ) | [inline] |
Check if this (branch of the) tree is ready for use.
Definition at line 159 of file ckmulticast.C.
References flag.
Referenced by CkMulticastMgr::recvMsg(), CkMulticastMgr::recvPacket(), and CkMulticastMgr::recvRedMsg().
| void mCastEntry::setReady | ( | void | ) | [inline] |
Mark this (branch of the) tree as ready for use.
Definition at line 161 of file ckmulticast.C.
References flag.
Referenced by CkMulticastMgr::childrenReady().
| void mCastEntry::incReduceNo | ( | ) | [inline] |
Increment the reduction number across the whole linked list of cookies.
Definition at line 163 of file ckmulticast.C.
References newc, red, and reductionInfo::redNo.
Referenced by CkMulticastMgr::recvRedMsg().
| CkArrayID mCastEntry::getAid | ( | ) | [inline] |
Get a handle on the array ID this tree is a member of.
Definition at line 169 of file ckmulticast.C.
References aid.
Referenced by CkMulticastMgr::childrenReady(), CkMulticastMgr::initCookie(), CkMulticastMgr::recvMsg(), CkMulticastMgr::reduceFragment(), CkMulticastMgr::resetCookie(), CkMulticastMgr::resetSection(), and CkMulticastMgr::sendToLocal().
| int mCastEntry::hasOldtree | ( | ) | [inline] |
Definition at line 170 of file ckmulticast.C.
References SectionLocation::entry, and oldtree.
Referenced by CkMulticastMgr::reduceFragment().
| void mCastEntry::print | ( | void | ) | [inline] |
Definition at line 171 of file ckmulticast.C.
References asm_fill, asm_msg, Converse::CkMyPe(), CmiPrintf(), flag, numChild, and pe.
Array ID.
Definition at line 115 of file ckmulticast.C.
Referenced by getAid(), mCastEntry(), and CkMulticastMgr::setup().
Spanning tree parent.
Definition at line 117 of file ckmulticast.C.
Referenced by CkMulticastMgr::childrenReady(), hasParent(), mCastEntry(), CkMulticastMgr::reduceFragment(), and CkMulticastMgr::setup().
List of direct children.
Definition at line 119 of file ckmulticast.C.
Referenced by CkMulticastMgr::freeup(), CkMulticastMgr::recvCookie(), CkMulticastMgr::recvMsg(), CkMulticastMgr::recvPacket(), CkMulticastMgr::recvRedMsg(), CkMulticastMgr::retire(), CkMulticastMgr::teardown(), and CkMulticastMgr::updateRedNo().
Number of direct children.
Definition at line 121 of file ckmulticast.C.
Referenced by print(), CkMulticastMgr::recvCookie(), and CkMulticastMgr::setup().
List of all tree member array indices (Only useful on the tree root).
Definition at line 123 of file ckmulticast.C.
Referenced by CkMulticastMgr::childrenReady(), CkMulticastMgr::initCookie(), mCastEntry(), CkMulticastMgr::prepareCookie(), CkMulticastMgr::recvRedMsg(), and CkMulticastMgr::setSection().
Only useful on root for LB.
Definition at line 125 of file ckmulticast.C.
Referenced by mCastEntry(), CkMulticastMgr::prepareCookie(), CkMulticastMgr::sendToSection(), and CkMulticastMgr::setSection().
List of array elements on local PE.
Definition at line 127 of file ckmulticast.C.
Referenced by CkMulticastMgr::recvRedMsg(), CkMulticastMgr::sendToLocal(), and CkMulticastMgr::setup().
Should always be myPE.
Definition at line 129 of file ckmulticast.C.
Referenced by mCastEntry(), print(), CkMulticastMgr::rebuild(), and CkMulticastMgr::setup().
Section ID of the root.
Definition at line 131 of file ckmulticast.C.
Referenced by CkMulticastMgr::recvRedMsg(), CkMulticastMgr::releaseBufferedReduceMsgs(), CkMulticastMgr::retire(), CkMulticastMgr::sendToLocal(), and CkMulticastMgr::setup().
Definition at line 132 of file ckmulticast.C.
Referenced by CkMulticastMgr::childrenReady(), and CkMulticastMgr::recvMsg().
Buffer storing the pending packets.
Definition at line 134 of file ckmulticast.C.
Referenced by CkMulticastMgr::childrenReady(), and CkMulticastMgr::recvPacket().
| char* mCastEntry::asm_msg |
For multicast packetization.
Definition at line 136 of file ckmulticast.C.
Referenced by mCastEntry(), print(), and CkMulticastMgr::recvPacket().
Definition at line 137 of file ckmulticast.C.
Referenced by mCastEntry(), print(), and CkMulticastMgr::recvPacket().
Linked list of entries on the same processor.
Definition at line 139 of file ckmulticast.C.
Referenced by CkMulticastMgr::freeup(), CkMulticastMgr::rebuild(), CkMulticastMgr::reduceFragment(), and CkMulticastMgr::resetCookie().
Definition at line 139 of file ckmulticast.C.
Referenced by incReduceNo(), CkMulticastMgr::rebuild(), CkMulticastMgr::recvRedMsg(), and CkMulticastMgr::sendToSection().
Old spanning tree.
Definition at line 141 of file ckmulticast.C.
Referenced by hasOldtree(), CkMulticastMgr::reduceFragment(), and CkMulticastMgr::resetSection().
Definition at line 143 of file ckmulticast.C.
Referenced by incReduceNo(), CkMulticastMgr::initCookie(), mCastEntry(), CkMulticastMgr::rebuild(), CkMulticastMgr::recvCookieInfo(), CkMulticastMgr::recvRedMsg(), CkMulticastMgr::releaseBufferedReduceMsgs(), CkMulticastMgr::releaseFutureReduceMsgs(), CkMulticastMgr::retrieveCookie(), CkMulticastMgr::setReductionClient(), CkMulticastMgr::setup(), and CkMulticastMgr::updateRedNo().
Definition at line 145 of file ckmulticast.C.
Referenced by mCastEntry(), CkMulticastMgr::reduceFragment(), and CkMulticastMgr::sendToSection().
char mCastEntry::flag [private] |
Definition at line 147 of file ckmulticast.C.
Referenced by isObsolete(), notReady(), print(), setObsolete(), and setReady().
1.5.5