FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
test_benchmarks Class Reference

#include <test_benchmarks.hpp>

Inheritance diagram for test_benchmarks:
Inheritance graph
[legend]

Public Member Functions

 test_benchmarks (MPI_Comm comm)
 
virtual ~test_benchmarks ()
 
const char * getName ()
 
int runtests ()
 
int test1 ()
 
int test2 ()
 
int test3 ()
 
int test4 ()
 
int test5 ()
 
int test6 ()
 
int test7 ()
 
int test8 ()
 
- Public Member Functions inherited from tester
 tester (MPI_Comm comm)
 
virtual ~tester ()
 
void setPath (const std::string &path)
 

Additional Inherited Members

- Protected Attributes inherited from tester
MPI_Comm comm_
 
int numProcs_
 
int localProc_
 
std::string path_
 

Detailed Description

Unit-tester for snl_fei::benchmarks

Definition at line 20 of file test_benchmarks.hpp.

Constructor & Destructor Documentation

test_benchmarks::test_benchmarks ( MPI_Comm  comm)

Definition at line 24 of file test_benchmarks.cpp.

test_benchmarks::~test_benchmarks ( )
virtual

Definition at line 29 of file test_benchmarks.cpp.

Member Function Documentation

const char* test_benchmarks::getName ( )
inlinevirtual

A name describing this test.

Implements tester.

Definition at line 25 of file test_benchmarks.hpp.

int test_benchmarks::runtests ( )
virtual

Implements tester.

Definition at line 140 of file test_benchmarks.cpp.

References CHK_ERR, FEI_COUT, FEI_ENDL, tester::numProcs_, test1(), test2(), test4(), test5(), test6(), test7(), and test8().

Referenced by execute_benchmarks().

int test_benchmarks::test1 ( )
int test_benchmarks::test2 ( )
int test_benchmarks::test3 ( )

Definition at line 434 of file test_benchmarks.cpp.

References fei::utils::cpu_time(), FEI_COUT, FEI_ENDL, and n.

int test_benchmarks::test4 ( )

Definition at line 476 of file test_benchmarks.cpp.

Referenced by runtests().

int test_benchmarks::test5 ( )

Definition at line 481 of file test_benchmarks.cpp.

Referenced by runtests().

int test_benchmarks::test6 ( )

Definition at line 486 of file test_benchmarks.cpp.

Referenced by runtests().

int test_benchmarks::test7 ( )

Definition at line 491 of file test_benchmarks.cpp.

Referenced by runtests().

int test_benchmarks::test8 ( )

Definition at line 496 of file test_benchmarks.cpp.

Referenced by runtests().


The documentation for this class was generated from the following files: