Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MergeNode< ValueType, Comparator, kNumInputs >::Stats Class Reference

Detailed Description

template<typename ValueType, typename Comparator, size_t kNumInputs>
class thrill::api::MergeNode< ValueType, Comparator, kNumInputs >::Stats

Stats holds timers for measuring merge performance, that supports accumulating the output and printing it to the standard out stream.

Definition at line 245 of file merge.hpp.

+ Collaboration diagram for MergeNode< ValueType, Comparator, kNumInputs >::Stats:

Public Member Functions

void Print (Context &ctx)
 
void PrintToSQLPlotTool (const std::string &label, size_t p, size_t value)
 

Public Attributes

StatsTimer balancing_timer_
 A Timer accumulating all time spent while re-balancing the data. More...
 
StatsTimer comm_timer_
 A Timer accumulating all time spent communicating. More...
 
StatsTimer file_op_timer_
 A Timer accumulating all time spent in File operations. More...
 
size_t iterations_ = 0
 The count of search iterations needed for balancing. More...
 
StatsTimer merge_timer_
 A Timer accumulating all time spent while actually merging. More...
 
StatsTimer pivot_selection_timer_
 
size_t result_size_ = 0
 The count of all elements processed on this host. More...
 
StatsTimer scatter_timer_
 
StatsTimer search_step_timer_
 A Timer accumulating all time spent in global search steps. More...
 

Member Function Documentation

void PrintToSQLPlotTool ( const std::string &  label,
size_t  p,
size_t  value 
)
inline

Member Data Documentation

StatsTimer balancing_timer_

A Timer accumulating all time spent while re-balancing the data.

Definition at line 253 of file merge.hpp.

Referenced by MergeNode< ValueType, Comparator, kNumInputs >::MainOp(), and MergeNode< ValueType, Comparator, kNumInputs >::Stats::Print().

size_t iterations_ = 0

The count of search iterations needed for balancing.

Definition at line 267 of file merge.hpp.

Referenced by MergeNode< ValueType, Comparator, kNumInputs >::MainOp(), and MergeNode< ValueType, Comparator, kNumInputs >::Stats::Print().

StatsTimer merge_timer_

A Timer accumulating all time spent while actually merging.

Definition at line 251 of file merge.hpp.

Referenced by MergeNode< ValueType, Comparator, kNumInputs >::Stats::Print(), and MergeNode< ValueType, Comparator, kNumInputs >::PushData().

StatsTimer pivot_selection_timer_

A Timer accumulating all time spent for selecting the global pivot elements.

Definition at line 256 of file merge.hpp.

Referenced by MergeNode< ValueType, Comparator, kNumInputs >::MainOp(), and MergeNode< ValueType, Comparator, kNumInputs >::Stats::Print().

StatsTimer scatter_timer_

A Timer accumulating all time spent calling the scatter method of the data subsystem.

Definition at line 263 of file merge.hpp.

Referenced by MergeNode< ValueType, Comparator, kNumInputs >::MainOp(), and MergeNode< ValueType, Comparator, kNumInputs >::Stats::Print().

StatsTimer search_step_timer_

A Timer accumulating all time spent in global search steps.

Definition at line 258 of file merge.hpp.

Referenced by MergeNode< ValueType, Comparator, kNumInputs >::MainOp(), and MergeNode< ValueType, Comparator, kNumInputs >::Stats::Print().


The documentation for this class was generated from the following file: