OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
performancePlots.hpp
1//
2// Created by tommaso on 21/8/19.
3//
4
5#ifndef OPENFPM_PDATA_PERFORMANCEPLOTS_HPP
6#define OPENFPM_PDATA_PERFORMANCEPLOTS_HPP
7
8#include <set>
9#include <util/common.hpp>
10#include <boost/property_tree/ptree.hpp>
11#include <boost/property_tree/xml_parser.hpp>
12#include <iostream>
13#include "Plot/GoogleChart.hpp"
14#include "util/performance/performance_util.hpp"
15
16extern char * test_dir;
17
19{
20 boost::property_tree::ptree graphs;
21};
22
23bool isTestInSet(std::set<std::string> &testSet, std::string name);
24
25void write_test_report(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet);
26
27void plotDense2DHost(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
28 unsigned int &plotCounter);
29
30void plotSparse2DHost(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
31 unsigned int &plotCounter);
32
33void plotDense2D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
34 unsigned int &plotCounter);
35
36void plotDense2DComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
37 unsigned int &plotCounter);
38
39void plotDense2DGetComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
40 unsigned int &plotCounter);
41
42void plotDense2DSkeletonComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
43 unsigned int &plotCounter);
44
45void plotDense2DZ(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
46 unsigned int &plotCounter);
47
48void plotDense2DZComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
49 unsigned int &plotCounter);
50
51void plotDense3D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
52 unsigned int &plotCounter);
53
54void plotDense3DComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
55 unsigned int &plotCounter);
56
57void plotSparse2DComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
58 unsigned int &plotCounter);
59
60void plotSparse3D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
61 unsigned int &plotCounter);
62
63void
64plotDenseSparse2DComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
65 unsigned int plotCounter);
66
67void plotDense2DStencilInsert(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
68 unsigned int &plotCounter);
69
70void plotDense2DStencilInsertComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
71 unsigned int &plotCounter);
72
73void plotDense2DStencilInplaceInsertComparison(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
74 unsigned int &plotCounter);
75
76void plotDense2DStencilInplaceInsertComparison16(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
77 unsigned int &plotCounter);
78
79void plotInsertSingle2D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
80 unsigned int &plotCounter);
81
82void plotInsertBlock2D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
83 unsigned int &plotCounter);
84
85void plotGetSingle2D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
86 unsigned int &plotCounter);
87
88void plotGetNeighbourhood2D(report_sparse_grid_tests &report_sparsegrid_funcs, std::set<std::string> &testSet,
89 unsigned int &plotCounter);
90
91#endif //OPENFPM_PDATA_PERFORMANCEPLOTS_HPP