Thrill  0.1
PS5SortStep Class Referenceabstract

Detailed Description

PS5SortStep Top-Level Class to Keep Track of Substeps.

Definition at line 171 of file parallel_sample_sort.hpp.

+ Inheritance diagram for PS5SortStep:

#include <parallel_sample_sort.hpp>

Public Member Functions

void substep_notify_done ()
 Notify superstep that the currently substep is done. More...
 

Protected Member Functions

 PS5SortStep ()
 
virtual ~PS5SortStep ()
 
void substep_add ()
 Register new substep. More...
 

Private Member Functions

virtual void substep_all_done ()=0
 Pure virtual function called by substep when all substeps are done. More...
 

Private Attributes

std::atomic< size_t > substep_working_
 Number of substeps still running. More...
 

Constructor & Destructor Documentation

◆ PS5SortStep()

PS5SortStep ( )
inlineprotected

Definition at line 181 of file parallel_sample_sort.hpp.

◆ ~PS5SortStep()

virtual ~PS5SortStep ( )
inlineprotectedvirtual

Definition at line 183 of file parallel_sample_sort.hpp.

Member Function Documentation

◆ substep_add()

void substep_add ( )
inlineprotected

Register new substep.

Definition at line 188 of file parallel_sample_sort.hpp.

◆ substep_all_done()

virtual void substep_all_done ( )
privatepure virtual

Pure virtual function called by substep when all substeps are done.

Implemented in PS5BigSortStep< Context, StringPtr >, and PS5SmallsortJob< Context, StringPtr, BktSizeType >.

◆ substep_notify_done()

void substep_notify_done ( )
inline

Notify superstep that the currently substep is done.

Definition at line 194 of file parallel_sample_sort.hpp.

Referenced by PS5SmallsortJob< Context, StringPtr, BktSizeType >::substep_all_done(), and PS5BigSortStep< Context, StringPtr >::substep_all_done().

Member Data Documentation

◆ substep_working_

std::atomic<size_t> substep_working_
private

Number of substeps still running.

Definition at line 175 of file parallel_sample_sort.hpp.


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