tlx
Loading...
Searching...
No Matches
PS5SortStep Class Referenceabstract

PS5SortStep Top-Level Class to Keep Track of Substeps. More...

#include <parallel_sample_sort.hpp>

Inheritance diagram for PS5SortStep:
PS5BigSortStep< Context, StringPtr > PS5SmallsortJob< Context, StringPtr, BktSizeType >

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

PS5SortStep Top-Level Class to Keep Track of Substeps.

Definition at line 172 of file parallel_sample_sort.hpp.

Constructor & Destructor Documentation

◆ PS5SortStep()

PS5SortStep ( )
inlineprotected

Definition at line 182 of file parallel_sample_sort.hpp.

◆ ~PS5SortStep()

virtual ~PS5SortStep ( )
inlineprotectedvirtual

Definition at line 184 of file parallel_sample_sort.hpp.

Member Function Documentation

◆ substep_add()

void substep_add ( )
inlineprotected

Register new substep.

Definition at line 189 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 195 of file parallel_sample_sort.hpp.

Member Data Documentation

◆ substep_working_

std::atomic<size_t> substep_working_
private

Number of substeps still running.

Definition at line 176 of file parallel_sample_sort.hpp.


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