Thrill
0.1
|
PS5SortStep Top-Level Class to Keep Track of Substeps.
Definition at line 171 of file parallel_sample_sort.hpp.
#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... | |
|
inlineprotected |
Definition at line 181 of file parallel_sample_sort.hpp.
|
inlineprotectedvirtual |
Definition at line 183 of file parallel_sample_sort.hpp.
|
inlineprotected |
Register new substep.
Definition at line 188 of file parallel_sample_sort.hpp.
|
privatepure virtual |
Pure virtual function called by substep when all substeps are done.
Implemented in PS5BigSortStep< Context, StringPtr >, and PS5SmallsortJob< Context, StringPtr, BktSizeType >.
|
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().
|
private |
Number of substeps still running.
Definition at line 175 of file parallel_sample_sort.hpp.