crown
1.0.0
|
#include <fstream>
#include <cstdlib>
#include <set>
#include <pelib/ParseException.hpp>
#include <pelib/AmplInput.hpp>
#include <pelib/AmplInputScalar.hpp>
#include <pelib/AmplInputVector.hpp>
#include <pelib/AmplInputSet.hpp>
#include <pelib/AmplInputMatrix.hpp>
#include <pelib/Scalar.hpp>
#include <pelib/Vector.hpp>
#include <pelib/Matrix.hpp>
#include <pelib/Algebra.hpp>
#include <pelib/AmplOutputScalar.hpp>
#include <pelib/AmplOutputVector.hpp>
#include <pelib/AmplOutputSet.hpp>
#include <pelib/AmplOutputMatrix.hpp>
#include <pelib/AmplOutput.hpp>
#include <crown/mapping.h>
Go to the source code of this file.
Classes | |
struct | cmp_time |
Defines | |
#define | debug(var) cout << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #var << " = \"" << var << "\"" << endl; |
Typedefs | |
typedef map< int, float > | by_group_t |
typedef pair< int, float > | group_time_t |
typedef std::map< int, float > | RowType |
typedef std::map< int, RowType > | MatrixType |
typedef multiset< group_time_t, cmp_time > | by_time_t |
typedef pair< by_group_t, by_time_t > | level_time_t |
typedef map< int, level_time_t > | mapping_time_t |
typedef vector< pair< int, int > > | mapping_t |
Functions | |
float | mapping_quality (const pelib::Algebra &input) |
Algebra | mapping_ltlg (const Algebra &record) |
float | mapping_ltlg_complexity (const pelib::Algebra &input) |
#define debug | ( | var | ) | cout << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #var << " = \"" << var << "\"" << endl; |
Definition at line 55 of file mapping.cpp.
typedef map<int, float> by_group_t |
Definition at line 63 of file mapping.cpp.
typedef multiset<group_time_t, cmp_time> by_time_t |
Definition at line 100 of file mapping.cpp.
typedef pair<int, float> group_time_t |
Definition at line 64 of file mapping.cpp.
typedef pair<by_group_t, by_time_t> level_time_t |
Definition at line 101 of file mapping.cpp.
typedef vector<pair<int, int> > mapping_t |
Definition at line 103 of file mapping.cpp.
typedef map<int, level_time_t> mapping_time_t |
Definition at line 102 of file mapping.cpp.
typedef std::map<int, RowType> MatrixType |
Definition at line 67 of file mapping.cpp.
typedef std::map<int, float> RowType |
Definition at line 66 of file mapping.cpp.
Algebra mapping_ltlg | ( | const Algebra & | record | ) |
Definition at line 456 of file mapping.cpp.
float mapping_ltlg_complexity | ( | const pelib::Algebra & | input | ) |
Return the number of instruction as computed by a time complexity analysis of the LTLG heuristic for the given input
Definition at line 544 of file mapping.cpp.
float mapping_quality | ( | const pelib::Algebra & | input | ) |
Return time in the number of instructions between the beginning of a schedule stage and the time the last task terminates
Definition at line 430 of file mapping.cpp.