FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Macros | Functions
test_benchmarks.cpp File Reference
#include <fei_macros.hpp>
#include <fei_utils.hpp>
#include <test_utils/fei_test_utils.hpp>
#include <test_utils/test_benchmarks.hpp>
#include <snl_fei_Utils.hpp>
#include <fei_ctg_set.hpp>
#include <snl_fei_RaggedTable.hpp>
#include <snl_fei_RaggedTable_specialize.hpp>
#include <test_utils/HexBeam.hpp>
#include <fei_ErrMacros.hpp>
Include dependency graph for test_benchmarks.cpp:

Go to the source code of this file.

Macros

#define fei_file   "test_benchmarks.cpp"
 

Functions

template<typename MAP_TYPE , typename SET_TYPE >
double time_raggedtable_insert (int len)
 
template<typename MAP_TYPE , typename SET_TYPE >
double benchmark_raggedtable ()
 
void print_benchmark_banner ()
 
void print_benchmark_line (const char *name, double value, double goldvalue, const char *passfail)
 
std::string add_macro_values (const char *name)
 
template<typename SET_TYPE >
double time_set_insert (int len)
 
template<typename SET_TYPE >
double time_set_insert2 (int len)
 
template<typename SET_TYPE >
double benchmark_set ()
 
template<typename SET_TYPE >
double benchmark_set2 ()
 

Macro Definition Documentation

◆ fei_file

#define fei_file   "test_benchmarks.cpp"

Definition at line 20 of file test_benchmarks.cpp.

Function Documentation

◆ time_raggedtable_insert()

template<typename MAP_TYPE , typename SET_TYPE >
double time_raggedtable_insert ( int len)

◆ benchmark_raggedtable()

template<typename MAP_TYPE , typename SET_TYPE >
double benchmark_raggedtable ( )

Definition at line 63 of file test_benchmarks.cpp.

◆ print_benchmark_banner()

void print_benchmark_banner ( )

Definition at line 85 of file test_benchmarks.cpp.

References FEI_COUT, and FEI_ENDL.

Referenced by test_benchmarks::test1(), and test_benchmarks::test2().

◆ print_benchmark_line()

void print_benchmark_line ( const char * name,
double value,
double goldvalue,
const char * passfail )

Definition at line 107 of file test_benchmarks.cpp.

References FEI_COUT, FEI_ENDL, IOS_FIXED, and IOS_FLOATFIELD.

Referenced by test_benchmarks::test1(), and test_benchmarks::test2().

◆ add_macro_values()

std::string add_macro_values ( const char * name)

Definition at line 126 of file test_benchmarks.cpp.

References FEI_OSTRINGSTREAM.

Referenced by test_benchmarks::test1(), and test_benchmarks::test2().

◆ time_set_insert()

template<typename SET_TYPE >
double time_set_insert ( int len)

Definition at line 244 of file test_benchmarks.cpp.

References fei::utils::cpu_time().

◆ time_set_insert2()

template<typename SET_TYPE >
double time_set_insert2 ( int len)

Definition at line 277 of file test_benchmarks.cpp.

References fei::utils::cpu_time().

◆ benchmark_set()

template<typename SET_TYPE >
double benchmark_set ( )

Definition at line 309 of file test_benchmarks.cpp.

◆ benchmark_set2()

template<typename SET_TYPE >
double benchmark_set2 ( )

Definition at line 332 of file test_benchmarks.cpp.