Interface Documentation
Version: invalid
Classes | Public Types | Static Public Member Functions | List of all members
flecsi::control< ControlPolicy > Struct Template Reference

#include <control.hh>

Inheritance diagram for flecsi::control< ControlPolicy >:
Inheritance graph
[legend]
Collaboration diagram for flecsi::control< ControlPolicy >:
Collaboration graph
[legend]

Classes

struct  action
 

Public Types

using target_type = int(*)()
 

Static Public Member Functions

static int execute ()
 
static int check_options ()
 

Detailed Description

template<typename ControlPolicy>
struct flecsi::control< ControlPolicy >

The control type provides a control model for specifying a set of control points as a coarse-grained control flow graph, with each node of the graph specifying a set of actions as a directed acyclic graph (DAG). The actions under a control point DAG are topologically sorted to respect dependency edges, which can be specified through the dag interface.

If Graphviz support is enabled, the control flow graph and its DAG nodes can be written to a graphviz file that can be compiled and viewed using the dot program.

Member Function Documentation

◆ check_options()

template<typename ControlPolicy >
static int flecsi::control< ControlPolicy >::check_options ( )
inlinestatic

Process control model command-line options.

◆ execute()

template<typename ControlPolicy >
static int flecsi::control< ControlPolicy >::execute ( )
inlinestatic

Execute the control model. This method does a topological sort of the actions under each of the control points to determine a non-unique, but valid ordering, and executes the actions.


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