pelib
2.0.0
|
#include <TetrisSchedule.hpp>
Public Member Functions | |
TetrisSchedule () | |
TetrisSchedule (float ratio, bool showFrequencies, bool showTaskId, bool useTaskName, vector< unsigned int > colors, float strokeSize) | |
virtual | ~TetrisSchedule () |
virtual void | dump (std::ostream &os, const Schedule *data, const Taskgraph *tg, const Platform *pt) const |
virtual void | dump (std::ostream &os, const Schedule &data, const Taskgraph &tg, const Platform &pt) const |
virtual TetrisSchedule * | clone () const |
Static Public Member Functions | |
static float | defaultRatio () |
static float | defaultStrokeSize () |
static bool | defaultFrequencyLegend () |
static bool | defaultTaskLabel () |
static bool | defaultTaskId () |
static vector< uint32_t > | defaultFrequencyColors () |
Protected Attributes | |
float | ratio |
float | strokeSize |
bool | showFrequencies |
bool | useTaskName |
bool | showTaskId |
vector< uint32_t > | colors |
Parser and output class for pelib::Schedule in Tetris format
Definition at line 32 of file TetrisSchedule.hpp.
Definition at line 307 of file TetrisSchedule.cpp.
pelib::TetrisSchedule::TetrisSchedule | ( | float | ratio, |
bool | showFrequencies, | ||
bool | showTaskId, | ||
bool | useTaskName, | ||
vector< unsigned int > | colors, | ||
float | strokeSize | ||
) |
TetrisSchedule::~TetrisSchedule | ( | ) | [virtual] |
Destructor
Definition at line 327 of file TetrisSchedule.cpp.
TetrisSchedule * TetrisSchedule::clone | ( | ) | const [virtual] |
Read text input in Tetris format and creates an instance of pelib::Schedule containing all data read
Implements pelib::ScheduleOutput.
Definition at line 852 of file TetrisSchedule.cpp.
vector< uint32_t > TetrisSchedule::defaultFrequencyColors | ( | ) | [static] |
Definition at line 281 of file TetrisSchedule.cpp.
bool TetrisSchedule::defaultFrequencyLegend | ( | ) | [static] |
Definition at line 275 of file TetrisSchedule.cpp.
float TetrisSchedule::defaultRatio | ( | ) | [static] |
Definition at line 263 of file TetrisSchedule.cpp.
float TetrisSchedule::defaultStrokeSize | ( | ) | [static] |
Definition at line 269 of file TetrisSchedule.cpp.
bool TetrisSchedule::defaultTaskId | ( | ) | [static] |
Definition at line 302 of file TetrisSchedule.cpp.
bool TetrisSchedule::defaultTaskLabel | ( | ) | [static] |
Definition at line 296 of file TetrisSchedule.cpp.
virtual void pelib::TetrisSchedule::dump | ( | std::ostream & | os, |
const Schedule * | data, | ||
const Taskgraph * | tg, | ||
const Platform * | pt | ||
) | const [virtual] |
Writes the content of instance of pelib::Schedule into output stream in Tetris format, using additional information from associated taskgraph and platform
Implements pelib::ScheduleOutput.
virtual void pelib::TetrisSchedule::dump | ( | std::ostream & | os, |
const Schedule & | data, | ||
const Taskgraph & | tg, | ||
const Platform & | pt | ||
) | const [virtual] |
Writes the content of instance of pelib::Schedule into output stream in Tetris format, using additional information from associated taskgraph and platform
Implements pelib::ScheduleOutput.
vector<uint32_t> pelib::TetrisSchedule::colors [protected] |
Definition at line 56 of file TetrisSchedule.hpp.
float pelib::TetrisSchedule::ratio [protected] |
Definition at line 52 of file TetrisSchedule.hpp.
bool pelib::TetrisSchedule::showFrequencies [protected] |
Definition at line 53 of file TetrisSchedule.hpp.
bool pelib::TetrisSchedule::showTaskId [protected] |
Definition at line 55 of file TetrisSchedule.hpp.
float pelib::TetrisSchedule::strokeSize [protected] |
Definition at line 52 of file TetrisSchedule.hpp.
bool pelib::TetrisSchedule::useTaskName [protected] |
Definition at line 54 of file TetrisSchedule.hpp.