PPL Logo

CompletionDetector Class Reference

#include <completion.h>

Inheritance diagram for CompletionDetector:

Inheritance graph
[legend]
Collaboration diagram for CompletionDetector:

Collaboration graph
[legend]

Public Member Functions

 CompletionDetector ()
void produce (int events_produced=1)
void consume (int events_consumed=1)
void done (int producers_done=1)

Private Member Functions

void init ()

Private Attributes

int produced
int consumed
int unconsumed
int producers_total
int producers_done_local
int producers_done_global
int prio
bool running

Detailed Description

Definition at line 6 of file completion.h.


Constructor & Destructor Documentation

CompletionDetector::CompletionDetector (  ) 

Definition at line 3 of file completion.C.

References init().

Here is the call graph for this function:


Member Function Documentation

void CompletionDetector::produce ( int  events_produced = 1  ) 

void CompletionDetector::consume ( int  events_consumed = 1  ) 

void CompletionDetector::done ( int  producers_done = 1  ) 

Definition at line 25 of file completion.C.

References producers_done_local.

Referenced by MeshStreamer< dtype >::done().

Here is the caller graph for this function:

void CompletionDetector::init ( void   )  [private]

Definition at line 8 of file completion.C.

References consumed, produced, producers_done_global, producers_done_local, producers_total, running, and unconsumed.

Referenced by CompletionDetector().

Here is the caller graph for this function:


Field Documentation

Definition at line 18 of file completion.h.

Referenced by init(), and produce().

Definition at line 18 of file completion.h.

Referenced by consume(), and init().

Definition at line 18 of file completion.h.

Referenced by init().

Definition at line 19 of file completion.h.

Referenced by init().

Definition at line 19 of file completion.h.

Referenced by done(), and init().

Definition at line 19 of file completion.h.

Referenced by init().

Definition at line 20 of file completion.h.

Definition at line 21 of file completion.h.

Referenced by init().


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

Generated on Mon Sep 21 08:22:06 2020 for Charm++ by  doxygen 1.5.5