TR-mbed 1.0
Loading...
Searching...
No Matches
Functions
smooth.cxx File Reference
#include "utilities.h"
#include <vector>
#include <deque>
#include <string>
#include <iostream>
#include <fstream>
#include "bench_parameter.hh"
#include <set>

Functions

void read_xy_file (const string &filename, vector< int > &tab_sizes, vector< double > &tab_mflops)
 
void write_xy_file (const string &filename, vector< int > &tab_sizes, vector< double > &tab_mflops)
 
void smooth_curve (const vector< double > &tab_mflops, vector< double > &smooth_tab_mflops, int window_half_width)
 
void centered_smooth_curve (const vector< double > &tab_mflops, vector< double > &smooth_tab_mflops, int window_half_width)
 
int main (int argc, char *argv[])
 
template<class VECTOR >
double weighted_mean (const VECTOR &data)
 

Function Documentation

◆ centered_smooth_curve()

void centered_smooth_curve ( const vector< double > &  tab_mflops,
vector< double > &  smooth_tab_mflops,
int  window_half_width 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ read_xy_file()

void read_xy_file ( const string &  filename,
vector< int > &  tab_sizes,
vector< double > &  tab_mflops 
)

◆ smooth_curve()

void smooth_curve ( const vector< double > &  tab_mflops,
vector< double > &  smooth_tab_mflops,
int  window_half_width 
)

◆ weighted_mean()

template<class VECTOR >
double weighted_mean ( const VECTOR &  data)

◆ write_xy_file()

void write_xy_file ( const string &  filename,
vector< int > &  tab_sizes,
vector< double > &  tab_mflops 
)