\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\)
cpp_csv_speed¶
View page sourceRecord a C++ Speed Result in a Csv File¶
Prototype¶
void csv_speed(
const std::string& file_name ,
double rate ,
double min_time ,
const std::string& package ,
const std::string& algorithm ,
bool special ,
const option_t& option )
file_name¶
This is the name of the file were the results will be recorded. This file uses the csv_column format.
If the file is empty on input, the following csv header line is written as the first line of the file; i.e.,
rate,min_time,package,algorithm,n_arg,date,compiler,debug,language
A line is added to this file corresponding to this call to csv_speed.
rate¶
see rate
min_time¶
see min_time
package¶
see package
algorithm¶
see algorithm
special¶
see special
option¶
n_arg¶
see n_arg
n_other¶
see n_other
time_setup¶
see time_setup
Example¶
xam_csv_speed.cpp contains an example and test of this routine.