![]() |
Taskflow
3.2.0-Master-Branch
|
class to create a pipeflow object used by the pipe callable More...
#include <pipeline.hpp>
Public Member Functions | |
Pipeflow ()=default | |
default constructor | |
size_t | line () const |
queries the line identifier of the present token | |
size_t | pipe () const |
queries the pipe identifier of the present token | |
size_t | token () const |
queries the token identifier | |
void | stop () |
stops the pipeline scheduling | |
Friends | |
template<typename... Ps> | |
class | Pipeline |
template<typename P > | |
class | ScalablePipeline |
class to create a pipeflow object used by the pipe callable
Pipeflow represents a scheduling token in the pipeline scheduling framework. A pipeflow is created by the pipeline scheduler at runtime to pass to the pipe callable. Users can query the present statistics of that scheduling token, including the line identifier, pipe identifier, and token identifier, and build their application algorithms based on these statistics. At the first stage, users can explicitly call the stop method to stop the pipeline scheduler.
Pipeflow can only be created privately by the tf::Pipeline and be used through the pipe callable.
|
inline |
stops the pipeline scheduling
Only the first pipe can call this method to stop the pipeline. Others have no effect.