OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
performance.hpp
1 /*
2  * performance.hpp
3  *
4  * Created on: Jan 11, 2016
5  * Author: i-bird
6  */
7 
8 #ifndef OPENFPM_DATA_SRC_PERFORMANCE_HPP_
9 #define OPENFPM_DATA_SRC_PERFORMANCE_HPP_
10 
11 #include "Plot/GoogleChart.hpp"
12 #include "timer.hpp"
13 #include <boost/property_tree/ptree.hpp>
14 #include <boost/property_tree/xml_parser.hpp>
15 #include "util/performance/performance_util.hpp"
16 
17 constexpr int N_STAT = 32;
18 constexpr int N_STAT_SMALL = 32;
19 constexpr int N_TRY = 8;
20 
21 #ifdef PERFORMANCE_TEST
22 
23 GoogleChart cg;
24 const char * test_dir;
25 
26 // Declaration of functions
27 
28 
29 void load_and_combine(std::string file, openfpm::vector<openfpm::vector<float>> & y, openfpm::vector<float> & per_times);
31 
32 BOOST_AUTO_TEST_SUITE( performance )
33 
34 
36 #include "Grid/performance/grid_performance_tests.hpp"
37 //#include "Vector/performance/vector_performance_test.hpp"
38 
39 BOOST_AUTO_TEST_SUITE_END()
40 
41 
42 #endif
43 
44 #endif /* OPENFPM_DATA_SRC_PERFORMANCE_HPP_ */
Small class to produce graph with Google chart in HTML.
Implementation of 1-D std::vector like structure.
Definition: map_vector.hpp:202