OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
17constexpr int N_STAT = 32;
18constexpr int N_STAT_SMALL = 32;
19constexpr int N_TRY = 8;
20
21#ifdef PERFORMANCE_TEST
22
24const char * test_dir;
25
26// Declaration of functions
27
28
29void load_and_combine(std::string file, openfpm::vector<openfpm::vector<float>> & y, openfpm::vector<float> & per_times);
31
32BOOST_AUTO_TEST_SUITE( performance )
33
34
35
36#include "Grid/performance/grid_performance_tests.hpp"
37//#include "Vector/performance/vector_performance_test.hpp"
38
39BOOST_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.