#include <stdbool.h>#include <volk/volk.h>#include <cstdlib>#include <map>#include <string>#include <vector>#include "volk/volk_complex.h"Go to the source code of this file.
Data Structures | |
| struct | volk_type_t |
| class | volk_test_time_t |
| class | volk_test_results_t |
| class | volk_test_params_t |
| class | volk_test_case_t |
Macros | |
| #define | VOLK_RUN_TESTS(func, tol, scalar, len, iter) |
| #define | VOLK_PROFILE(func, test_params, results) run_volk_tests(func##_get_func_desc(), (void (*)())func##_manual, std::string(#func), test_params, results, "NULL") |
| #define | VOLK_PUPPET_PROFILE(func, puppet_master_func, test_params, results) run_volk_tests(func##_get_func_desc(), (void (*)())func##_manual, std::string(#func), test_params, results, std::string(#puppet_master_func)) |
Typedefs | |
| typedef void(* | volk_fn_1arg) (void *, unsigned int, const char *) |
| typedef void(* | volk_fn_2arg) (void *, void *, unsigned int, const char *) |
| typedef void(* | volk_fn_3arg) (void *, void *, void *, unsigned int, const char *) |
| typedef void(* | volk_fn_4arg) (void *, void *, void *, void *, unsigned int, const char *) |
| typedef void(* | volk_fn_1arg_s32f) (void *, float, unsigned int, const char *) |
| typedef void(* | volk_fn_2arg_s32f) (void *, void *, float, unsigned int, const char *) |
| typedef void(* | volk_fn_3arg_s32f) (void *, void *, void *, float, unsigned int, const char *) |
| typedef void(* | volk_fn_1arg_s32fc) (void *, lv_32fc_t, unsigned int, const char *) |
| typedef void(* | volk_fn_2arg_s32fc) (void *, void *, lv_32fc_t, unsigned int, const char *) |
| typedef void(* | volk_fn_3arg_s32fc) (void *, void *, void *, lv_32fc_t, unsigned int, const char *) |
Functions | |
| volk_type_t | volk_type_from_string (std::string) |
| float | uniform (void) |
| void | random_floats (float *buf, unsigned n) |
| bool | run_volk_tests (volk_func_desc_t, void(*)(), std::string, volk_test_params_t, std::vector< volk_test_results_t > *results=NULL, std::string puppet_master_name="NULL") |
| bool | run_volk_tests (volk_func_desc_t, void(*)(), std::string, float, lv_32fc_t, unsigned int, unsigned int, std::vector< volk_test_results_t > *results=NULL, std::string puppet_master_name="NULL", bool absolute_mode=false, bool benchmark_mode=false) |
| #define VOLK_PROFILE | ( | func, | |
| test_params, | |||
| results | |||
| ) | run_volk_tests(func##_get_func_desc(), (void (*)())func##_manual, std::string(#func), test_params, results, "NULL") |
| #define VOLK_PUPPET_PROFILE | ( | func, | |
| puppet_master_func, | |||
| test_params, | |||
| results | |||
| ) | run_volk_tests(func##_get_func_desc(), (void (*)())func##_manual, std::string(#func), test_params, results, std::string(#puppet_master_func)) |
| #define VOLK_RUN_TESTS | ( | func, | |
| tol, | |||
| scalar, | |||
| len, | |||
| iter | |||
| ) |
| void random_floats | ( | float * | buf, |
| unsigned | n | ||
| ) |
| bool run_volk_tests | ( | volk_func_desc_t | , |
| void(*)() | , | ||
| std::string | , | ||
| volk_test_params_t | , | ||
| std::vector< volk_test_results_t > * | results = NULL, |
||
| std::string | puppet_master_name = "NULL" |
||
| ) |
| bool run_volk_tests | ( | volk_func_desc_t | , |
| void(*)() | , | ||
| std::string | , | ||
| float | , | ||
| lv_32fc_t | , | ||
| unsigned | int, | ||
| unsigned | int, | ||
| std::vector< volk_test_results_t > * | results = NULL, |
||
| std::string | puppet_master_name = "NULL", |
||
| bool | absolute_mode = false, |
||
| bool | benchmark_mode = false |
||
| ) |
| float uniform | ( | void | ) |
| volk_type_t volk_type_from_string | ( | std::string | ) |