schedulers  1.0.0
src/PruhsHeuristic.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <string>
#include <iostream>
#include <pelib/PruhsHeuristic.hpp>
#include <pelib/AmplSolver.hpp>
#include <pelib/Schedule.hpp>
#include <pelib/Scalar.hpp>
#include <pelib/Vector.hpp>
#include <pelib/Matrix.hpp>
#include <pelib/Set.hpp>
#include <pelib/Task.hpp>
#include <pelib/Taskgraph.hpp>
#include <pelib/Platform.hpp>
#include <pelib/CastException.hpp>
#include <pelib/ParseException.hpp>
#include <pelib/AmplOutput.hpp>
#include <pelib/PelibException.hpp>
Include dependency graph for PruhsHeuristic.cpp:

Go to the source code of this file.

Classes

struct  task
struct  taskset
struct  taskparams
struct  schedule

Defines

#define debug(var)   cout << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #var << " = \"" << (var) << "\"" << endl;
#define LEN   50
#define ALPHA   0
#define MAX_DOUBLE   pow(2.0,1000)

Typedefs

typedef struct task Task
typedef struct taskset Taskset
typedef struct taskparams Taskparams
typedef struct schedule Schedule

Functions

const pelib::Schedulepelib_schedule (const pelib::Taskgraph &tg, const pelib::Platform &pt, size_t argc, char **argv, std::map< const string, double > &statistics)
string pelib_description (size_t argc, char **argv)
void pelib_delete (pelib::Schedule *sched)

Variables

double max_frequency
double * discrete_frequencies_relative
size_t number_of_frequencies
const long long int nsec_in_sec = 1000000000

Define Documentation

#define ALPHA   0

Definition at line 69 of file PruhsHeuristic.cpp.

#define debug (   var)    cout << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #var << " = \"" << (var) << "\"" << endl;

Definition at line 33 of file PruhsHeuristic.cpp.

#define LEN   50

Definition at line 34 of file PruhsHeuristic.cpp.

#define MAX_DOUBLE   pow(2.0,1000)

Definition at line 454 of file PruhsHeuristic.cpp.


Typedef Documentation

typedef struct schedule Schedule
typedef struct task Task
typedef struct taskparams Taskparams
typedef struct taskset Taskset

Function Documentation

void pelib_delete ( pelib::Schedule sched)

Definition at line 850 of file PruhsHeuristic.cpp.

string pelib_description ( size_t  argc,
char **  argv 
)

Definition at line 840 of file PruhsHeuristic.cpp.

const pelib::Schedule* pelib_schedule ( const pelib::Taskgraph &  tg,
const pelib::Platform &  pt,
size_t  argc,
char **  argv,
std::map< const string, double > &  statistics 
)

Definition at line 830 of file PruhsHeuristic.cpp.


Variable Documentation

Definition at line 73 of file PruhsHeuristic.cpp.

double max_frequency

Definition at line 72 of file PruhsHeuristic.cpp.

const long long int nsec_in_sec = 1000000000

Definition at line 655 of file PruhsHeuristic.cpp.

Definition at line 74 of file PruhsHeuristic.cpp.