PPL Logo

SDAG::Dependency Struct Reference

#include <sdag.h>

Collaboration diagram for SDAG::Dependency:

Collaboration graph
[legend]

Public Member Functions

void pup (PUP::er &p)
 Dependency (int numEntries, int numWhens)
 Dependency ()
 ~Dependency ()
void addDepends (int whenID, int entry)
void reg (Continuation *c)
void dereg (Continuation *c)
BufferpushBuffer (int entry, Closure *cl)
ContinuationtryFindContinuation (int entry)
bool searchBufferedMatching (Continuation *t)
BuffertryFindMessage (int entry, bool hasRef, CMK_REFNUM_TYPE refnum, std::unordered_set< Buffer * > *ignore)
BuffertryFindMessage (int entry)
void removeMessage (Buffer *buf)
int getAndIncrementSpeculationIndex ()
void removeAllSpeculationIndex (int speculationIndex)

Data Fields

std::vector< std::list< int > > entryToWhen
std::vector< std::list
< Continuation * > > 
whenToContinuation
std::vector< std::list< Buffer * > > buffer
int curSpeculationIndex

Detailed Description

Definition at line 250 of file sdag.h.


Constructor & Destructor Documentation

SDAG::Dependency::Dependency ( int  numEntries,
int  numWhens 
) [inline]

Definition at line 268 of file sdag.h.

SDAG::Dependency::Dependency (  )  [inline]

Definition at line 276 of file sdag.h.

SDAG::Dependency::~Dependency (  )  [inline]

Definition at line 279 of file sdag.h.

References whenToContinuation.


Member Function Documentation

void SDAG::Dependency::pup ( PUP::er p  )  [inline]

Definition at line 261 of file sdag.h.

References curSpeculationIndex, entryToWhen, and whenToContinuation.

void SDAG::Dependency::addDepends ( int  whenID,
int  entry 
) [inline]

Definition at line 297 of file sdag.h.

References entryToWhen.

void SDAG::Dependency::reg ( Continuation c  )  [inline]

Definition at line 301 of file sdag.h.

References SDAG::Continuation::whenID, and whenToContinuation.

void SDAG::Dependency::dereg ( Continuation c  )  [inline]

Definition at line 306 of file sdag.h.

References SDAG::Continuation::whenID, and whenToContinuation.

Referenced by tryFindContinuation().

Here is the caller graph for this function:

Buffer* SDAG::Dependency::pushBuffer ( int  entry,
Closure cl 
) [inline]

Definition at line 312 of file sdag.h.

References buf.

Continuation* SDAG::Dependency::tryFindContinuation ( int  entry  )  [inline]

Definition at line 318 of file sdag.h.

References c, dereg(), entryToWhen, searchBufferedMatching(), and whenToContinuation.

Here is the call graph for this function:

bool SDAG::Dependency::searchBufferedMatching ( Continuation t  )  [inline]

Definition at line 338 of file sdag.h.

References SDAG::Continuation::anyEntries, SDAG::Continuation::entries, SDAG::Continuation::refnums, and tryFindMessage().

Referenced by tryFindContinuation().

Here is the call graph for this function:

Here is the caller graph for this function:

Buffer* SDAG::Dependency::tryFindMessage ( int  entry,
bool  hasRef,
CMK_REFNUM_TYPE  refnum,
std::unordered_set< Buffer * > *  ignore 
) [inline]

Definition at line 353 of file sdag.h.

Referenced by searchBufferedMatching().

Here is the caller graph for this function:

Buffer* SDAG::Dependency::tryFindMessage ( int  entry  )  [inline]

Definition at line 365 of file sdag.h.

References size.

void SDAG::Dependency::removeMessage ( Buffer buf  )  [inline]

Definition at line 372 of file sdag.h.

References SDAG::Buffer::entry.

int SDAG::Dependency::getAndIncrementSpeculationIndex (  )  [inline]

Definition at line 376 of file sdag.h.

References curSpeculationIndex.

void SDAG::Dependency::removeAllSpeculationIndex ( int  speculationIndex  )  [inline]

Definition at line 380 of file sdag.h.

References whenToContinuation.


Field Documentation

Definition at line 251 of file sdag.h.

Referenced by addDepends(), pup(), and tryFindContinuation().

Definition at line 252 of file sdag.h.

Referenced by dereg(), pup(), reg(), removeAllSpeculationIndex(), tryFindContinuation(), and ~Dependency().

Definition at line 257 of file sdag.h.

Definition at line 259 of file sdag.h.

Referenced by getAndIncrementSpeculationIndex(), and pup().


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

Generated on Mon Sep 21 08:34:24 2020 for Charm++ by  doxygen 1.5.5