fupermod: Functional Performance Models of heterogeneous processors
fupermod_model Struct Reference
[Approximations of a time function]
Collaboration diagram for fupermod_model:
Public Attributes | |
fupermod_data * | data |
fupermod_complexity | complexity |
long long int | D |
double(* | t )(struct fupermod_model *model, double x) |
double(* | dt )(struct fupermod_model *model, double x) |
int(* | update )(struct fupermod_model *model, fupermod_point point) |
void * | params |
Detailed Description
Model: approximation of time (based on data points). Must be defined at [0; D]. Abstract data structure used in data partitioning algorithms. Encapsulates the data points provided by fupermod_data. Ensure data integrity (data points <-> model): after a new data point is added by fupermod_data_add, the model must be updated by update.
Member Data Documentation
Complexity
long long int fupermod_model::D |
Maximum problem size
double(* fupermod_model::t)(struct fupermod_model *model, double x) |
Evaluates the function. Must return positive values.
double(* fupermod_model::dt)(struct fupermod_model *model, double x) |
Evaluates the derivative (required for the numerical data partitioners only)
int(* fupermod_model::update)(struct fupermod_model *model, fupermod_point point) |
Updates the model
void* fupermod_model::params |
Application spicific parameters (extra args for complexity)
The documentation for this struct was generated from the following file:
- fupermod/fupermod_model.h