MultiIndex
|
#include <perfomance_util.h>
Public Member Functions | |
PerfTester () | |
void | DoReport () |
void | ResetQuerywiseStatistic () |
void | NextNeighbour () |
Public Attributes | |
int | current_points_count |
int | handled_queries_count |
int | cells_traversed |
unsigned long long | nearest_subcentroids_time |
unsigned long long | cache_init_time |
unsigned long long | merger_init_time |
unsigned long long | full_traversal_time |
unsigned long long | cell_coordinates_time |
unsigned long long | cell_edges_time |
unsigned long long | residual_time |
unsigned long long | refining_time |
unsigned long long | full_search_time |
unsigned long long | search_start |
Private Member Functions | |
void | DoReport (ofstream &out) |
Private Attributes | |
string | report_file_ |
vector< int > | list_length_thresholds_ |
int | current_threshold_index_ |
vector< float > | list_length_times_ |
This simple class stores timing of search working process
void PerfTester::DoReport | ( | ) |
Pretty report of timing
void PerfTester::DoReport | ( | std::ofstream & | out | ) | [private] |
void PerfTester::NextNeighbour | ( | ) |
Signal about next point
void PerfTester::ResetQuerywiseStatistic | ( | ) |
Reset all prevoius statistic before new query handling
unsigned long long PerfTester::cache_init_time |
unsigned long long PerfTester::cell_coordinates_time |
unsigned long long PerfTester::cell_edges_time |
Number of traversed items of multiindex
Number of neighbours already found
int PerfTester::current_threshold_index_ [private] |
unsigned long long PerfTester::full_search_time |
unsigned long long PerfTester::full_traversal_time |
Number of handled queries
vector<int> PerfTester::list_length_thresholds_ [private] |
vector<float> PerfTester::list_length_times_ [private] |
unsigned long long PerfTester::merger_init_time |
unsigned long long PerfTester::nearest_subcentroids_time |
unsigned long long PerfTester::refining_time |
string PerfTester::report_file_ [private] |
unsigned long long PerfTester::residual_time |
unsigned long long PerfTester::search_start |