Program to compare two models. More...
#include <stdio.h>#include <stdlib.h>#include <getopt.h>#include <math.h>#include <gsl/gsl_statistics_double.h>#include "pmm_model.h"#include "pmm_octave.h"#include "pmm_cfgparser.h"#include "pmm_log.h"#include "pmm_param.h"Go to the source code of this file.
Data Structures | |
| struct | pmm_comp_options |
Typedefs | |
| typedef struct pmm_comp_options | PMM_Comp_Options |
Functions | |
| void | usage () |
| void | parse_args (struct pmm_comp_options *opts, int argc, char **argv) |
| double | correlate_models (struct pmm_model *approx_model, struct pmm_model *base_model) |
| int | main (int argc, char **argv) |
Program to compare two models.
This file contains the pmm_comp program, which is a simple utility to compare two models
Definition in file pmm_comp.c.
| typedef struct pmm_comp_options PMM_Comp_Options |
structure storing options for pmm_comp tool
find the correlation between two models
| approx_model | pointer to so called approximation model |
| base_model | pointer to base model |
Definition at line 148 of file pmm_comp.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
pmm_comp compares pairs of model files
shows statistics such as correlation, number of points, time spent benchmarking, etc.
Definition at line 253 of file pmm_comp.c.
| void parse_args | ( | struct pmm_comp_options * | opts, |
| int | argc, | ||
| char ** | argv | ||
| ) |
parse arguments for pmm_comp tool
| opts | pointer to options structure |
| argc | number of command line arguments |
| argv | command line arguments character array pointer |
Definition at line 76 of file pmm_comp.c.
| void usage | ( | ) |
print command line usage for pmm_comp tool
Definition at line 59 of file pmm_comp.c.
1.8.1.2