__gnu_para...ortingData(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

🌈 __gnu_para...ortingData(3) 🌈

Okay bestie, welcome to the Library Functions Manual page for __gnu_parallel::PMWMSSortingData β€” the struct whose whole gig is β€œData accessed by all threads.” It’s giving shared group-chat energy, but make it threads. πŸ’…

🌸 NAME 🌸

__gnu_parallel::PMWMSSortingData β€” data accessed by all threads.


✨ SYNOPSIS ✨

πŸ’– Public Types πŸ’–

typedef traits_type::difference_type difference_type
typedef std::iterator_traits< RandomAccessIterator > traits_type
typedef traits_type::value_type value_type

πŸŽ€ Public Attributes πŸŽ€

thread_index_t num_threads
difference_type * offsets
std::vector< Piece< difference_type > > * pieces
value_type * samples
RandomAccessIterator source
difference_type * starts
value_type ** temporary

πŸ¦‹ Detailed Description πŸ¦‹

template<typename RandomAccessIterator> struct
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >

Data accessed by all threads.

PMWMS = parallel multiway mergesort

Definition at line 62 of file multiway_mergesort.h.


🌟 Member Data Documentation 🌟

🧡 num_threads

template<typename RandomAccessIterator> thread_index_t
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::num_threads

Number of threads involved.

Definition at line 69 of file multiway_mergesort.h.

Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

🧡 offsets

template<typename RandomAccessIterator> difference_type*
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::offsets

Offsets to add to the found positions.

Definition at line 84 of file multiway_mergesort.h.

Referenced by __gnu_parallel::parallel_sort_mwms().

🧡 pieces

template<typename RandomAccessIterator> std::vector<Piece<difference_type>
       >* __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::pieces

Pieces of data to merge [thread][sequence].

Definition at line 87 of file multiway_mergesort.h.

Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

🧡 samples

template<typename RandomAccessIterator> value_type*
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::samples

Samples.

Definition at line 81 of file multiway_mergesort.h.

Referenced by __gnu_parallel::determine_samples(), and __gnu_parallel::parallel_sort_mwms().

🧡 source

template<typename RandomAccessIterator> RandomAccessIterator
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::source

Input begin.

Definition at line 72 of file multiway_mergesort.h.

Referenced by __gnu_parallel::determine_samples(), __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

🧡 starts

template<typename RandomAccessIterator> difference_type*
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::starts

Start indices, per thread.

Definition at line 75 of file multiway_mergesort.h.

Referenced by __gnu_parallel::determine_samples(), __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

🧡 temporary

template<typename RandomAccessIterator> value_type**
       __gnu_parallel::PMWMSSortingData< RandomAccessIterator >::temporary

Storage in which to sort.

Definition at line 78 of file multiway_mergesort.h.

Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().


πŸ’Œ Author πŸ’Œ

Generated automatically by Doxygen for libstdc++ from the source code.


Cute sign-off bestie: this page is brought to you by libstdc++, dated 21 Apr 2009, and its whole title vibe is __gnu_para...ortingData(3). Bye! 🫢✨

πŸ“¦ where this page comes from