Vector Optimized Library of Kernels  3.1.2
Architecture-tuned implementations of math kernels
volk_profile.cc File Reference
#include <filesystem>
#include <stddef.h>
#include <sys/stat.h>
#include <volk/volk_prefs.h>
#include <fstream>
#include <iostream>
#include <map>
#include <utility>
#include <vector>
#include "kernel_tests.h"
#include "qa_utils.h"
#include "volk/volk_complex.h"
#include "volk_option_helpers.h"
#include "volk_profile.h"

Functions

void set_benchmark (bool val)
 
void set_tolerance (float val)
 
void set_vlen (int val)
 
void set_iter (int val)
 
void set_substr (std::string val)
 
void set_update (bool val)
 
void set_dryrun (bool val)
 
std::string json_filename ("")
 
void set_json (std::string val)
 
std::string volk_config_path ("")
 
void set_volk_config (std::string val)
 
int main (int argc, char *argv[])
 
void read_results (std::vector< volk_test_results_t > *results)
 
void read_results (std::vector< volk_test_results_t > *results, std::string path)
 
void write_results (const std::vector< volk_test_results_t > *results, bool update_result)
 
void write_results (const std::vector< volk_test_results_t > *results, bool update_result, const std::string path)
 
void write_json (std::ofstream &json_file, std::vector< volk_test_results_t > results)
 

Variables

volk_test_params_t test_params (1e-6f, 327.f, 131071, 1987, false,"")
 
bool update_mode = false
 
bool dry_run = false
 

Function Documentation

std::string json_filename ( ""  )
int main ( int  argc,
char *  argv[] 
)
void read_results ( std::vector< volk_test_results_t > *  results)
void read_results ( std::vector< volk_test_results_t > *  results,
std::string  path 
)
void set_benchmark ( bool  val)
void set_dryrun ( bool  val)
void set_iter ( int  val)
void set_json ( std::string  val)
void set_substr ( std::string  val)
void set_tolerance ( float  val)
void set_update ( bool  val)
void set_vlen ( int  val)
void set_volk_config ( std::string  val)
std::string volk_config_path ( ""  )
void write_json ( std::ofstream &  json_file,
std::vector< volk_test_results_t results 
)
void write_results ( const std::vector< volk_test_results_t > *  results,
bool  update_result 
)
void write_results ( const std::vector< volk_test_results_t > *  results,
bool  update_result,
const std::string  path 
)

Variable Documentation

bool dry_run = false
volk_test_params_t test_params(1e-6f, 327.f, 131071, 1987, false,"")
bool update_mode = false