MultiIndex
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
PerfTester Class Reference

#include <perfomance_util.h>

Collaboration diagram for PerfTester:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

This simple class stores timing of search working process


Constructor & Destructor Documentation


Member Function Documentation

Pretty report of timing

void PerfTester::DoReport ( std::ofstream &  out) [private]

Signal about next point

Reset all prevoius statistic before new query handling


Member Data Documentation

unsigned long long PerfTester::cache_init_time
unsigned long long PerfTester::cell_edges_time

Number of traversed items of multiindex

Number of neighbours already found

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::refining_time
string PerfTester::report_file_ [private]
unsigned long long PerfTester::residual_time
unsigned long long PerfTester::search_start

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator