29 std::vector<double> & tab_mflops,
bool quiet =
false)
32 std::ifstream input_file (filename.c_str(),std::ios::in);
36 INFOS(
"!!! Error opening "<<filename);
45 while (input_file >> size >> mflops ){
47 tab_sizes.push_back(size);
48 tab_mflops.push_back(mflops);
63 template<
class Vector_A,
class Vector_B>
66 ofstream outfile (filename.c_str(),
ios::out) ;
70 outfile << X[
i] <<
" " << Y[
i] << endl;
std::ofstream out("Result.txt")
bool read_xy_file(const std::string &filename, std::vector< int > &tab_sizes, std::vector< double > &tab_mflops, bool quiet=false)
void dump_xy_file(const Vector_A &X, const Vector_B &Y, const std::string &filename)