Definition at line 62 of file c_plane_tests.cc.
◆ get_case_name()
const std::string get_case_name |
( |
| ) |
|
|
inlineprotectedinherited |
Get name of the test case from JSON file.
- Returns
- Test'ss case name or a default name if name field is missing.
Definition at line 338 of file common.hpp.
◆ get_input_parameter()
T get_input_parameter |
( |
const std::string & |
parameter_name | ) |
|
|
inlineprotectedinherited |
Load selected data from a JSON object. get_input_parameter loads data from parameters section of the test case in JSON file and get_reference_parameter does the same thing for references section.
Get parameter function uses template type to figure out how to load parameters. If type is NOT a pointer it'll load value directly from the JSON. Otherwise path to the test vector is expected and function will allocate memory, load data from the binary file to this memory location and return pointer to it. For example in here we request to load pointer to float so llrs filed is expected to be a path to the binary file.
Definition at line 290 of file common.hpp.
◆ get_number_of_cases()
static unsigned get_number_of_cases |
( |
const std::string & |
type | ) |
|
|
inlinestaticinherited |
◆ get_reference_parameter()
T get_reference_parameter |
( |
const std::string & |
parameter_name | ) |
|
|
inlineprotectedinherited |
◆ init_test()
void init_test |
( |
const std::string & |
type | ) |
|
|
inlineprotectedinherited |
Defines section in the conf.json that is used to load parameters from.
- Parameters
-
[in] | type | Name of the section in the JSON file. |
Definition at line 358 of file common.hpp.
◆ performance()
void performance |
( |
const std::string & |
isa, |
|
|
const std::string & |
module_name, |
|
|
F |
function, |
|
|
Args ... |
args |
|
) |
| |
|
inlineprotectedinherited |
Run performance test case for a given function.
- Parameters
-
[in] | isa | Used Instruction Set. |
[in] | module_name | name of the tested kernel. |
[in] | function | function to be tested. |
[in] | args | function's arguments. |
Definition at line 253 of file common.hpp.
◆ prepare_extensions()
int prepare_extensions |
( |
int |
sect_num | ) |
|
|
protected |
◆ prepare_sections()
int prepare_sections |
( |
bool |
extflag | ) |
|
|
protected |
◆ print_test_description()
void print_test_description |
( |
const std::string & |
isa, |
|
|
const std::string & |
module_name |
|
) |
| |
|
inlineprotectedinherited |
Print unique test description to the results xml file.
- Parameters
-
[in] | isa | Used Instruction Set. |
[in] | module_name | name of the tested kernel. |
[in] | function | function to be tested. |
Definition at line 271 of file common.hpp.
◆ set_division_factor()
void set_division_factor |
( |
const double |
factor | ) |
|
|
inlineprotectedinherited |
Set division factor.
- Parameters
-
[in] | factor | Division factor that divides mean and standard deviation. |
Definition at line 222 of file common.hpp.
◆ set_parallelization_factor()
void set_parallelization_factor |
( |
const int |
factor | ) |
|
|
inlineprotectedinherited |
Set size of processed data.
- Parameters
-
[in] | size | Size of processed data used to calculate module throughput. |
Definition at line 240 of file common.hpp.
◆ set_results_units()
void set_results_units |
( |
const std::string & |
units | ) |
|
|
inlineprotectedinherited |
Set reults units.
- Parameters
-
[in] | units | Units that are displayed in the report. |
Definition at line 231 of file common.hpp.
◆ SetUp()
◆ SetUpTestCase()
static void SetUpTestCase |
( |
| ) |
|
|
inlinestaticinherited |
◆ TearDown()
◆ TearDownTestCase()
static void TearDownTestCase |
( |
| ) |
|
|
inlinestaticinherited |
◆ verify_sections()
void verify_sections |
( |
void |
| ) |
|
|
protected |
◆ conf
◆ division_factor
double division_factor = 1.0 |
|
protectedinherited |
◆ m_antId
◆ m_beamId
◆ m_bfwIQ
◆ m_ccId
◆ m_compMethod
◆ m_cpLength
◆ m_dir
◆ m_dirStr
◆ m_ext1
◆ m_ext1_dst_len
uint16_t m_ext1_dst_len = 0 |
|
protected |
◆ m_ext2
◆ m_ext4
◆ m_ext5
◆ m_fftSize
◆ m_filterIndex
◆ m_frameId
◆ m_freqOffset
◆ m_iqWidth
◆ m_maxSections
◆ m_numSections
◆ m_p_bfw_iq_src
int16_t* m_p_bfw_iq_src = NULL |
|
protected |
◆ m_p_ext1_dst
int8_t* m_p_ext1_dst = NULL |
|
protected |
◆ m_params
◆ m_pktInfo
◆ m_prbNum
uint16_t * m_prbNum = NULL |
|
protected |
◆ m_prbStart
uint16_t* m_prbStart = NULL |
|
protected |
◆ m_pTestBuffer
struct rte_mbuf* m_pTestBuffer |
|
protected |
◆ m_reMask
uint16_t m_reMask = 0xfff |
|
protected |
◆ m_result
◆ m_scs
◆ m_sectionId
◆ m_sectionType
◆ m_seqId
◆ m_slotId
◆ m_subframeId
◆ m_symNum
◆ m_symStart
◆ m_timeOffset
◆ parallelization_factor
int parallelization_factor = 1 |
|
protectedinherited |
◆ result_units
std::string result_units = "None" |
|
protectedinherited |
◆ test_type
The documentation for this class was generated from the following file: