#include <Task.h>

Inheritance diagram for Task:

Public Member Functions

 Task (void)
 
 ~Task (void)
 
double cost (void) const
 
int level (void) const
 
int core (void) const
 get the core where this task is scheduled or -1 if not yet scheduled More...
 
double startTime (void) const
 return forecast start time More...
 
double endTime (void) const
 return forecast end time More...
 
void setLevel (int l)
 
void setCore (int c)
 
double setStartTime (double t)
 sets the start time and returns the end time More...
 

Public Attributes

int weight
 for backTrack_ and findCycles More...
 

Detailed Description

A Task is entity (typically a unit placed on a vertex of the FlowSheet) that requires CPU time; used for scheduling the sequential execution of the FlowSheet.

#include <libpf/flowsheet/Task.h>

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ Task()

Task::Task ( void  )

◆ ~Task()

Task::~Task ( void  )

Member Function Documentation

◆ core()

int Task::core ( void  ) const

get the core where this task is scheduled or -1 if not yet scheduled

◆ cost()

double Task::cost ( void  ) const

◆ endTime()

double Task::endTime ( void  ) const

return forecast end time

◆ level()

int Task::level ( void  ) const

◆ setCore()

void Task::setCore ( int  c)

◆ setLevel()

void Task::setLevel ( int  l)

◆ setStartTime()

double Task::setStartTime ( double  t)

sets the start time and returns the end time

◆ startTime()

double Task::startTime ( void  ) const

return forecast start time

Member Data Documentation

◆ weight

int Task::weight

for backTrack_ and findCycles


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