Stxxl
1.4.0
|
#include <stxxl/mng>
#include <stxxl/ksort>
#include <stxxl/vector>
#include <stxxl/random>
#include <stxxl/scan>
#include "test_sort_all_parameters.h"
Go to the source code of this file.
Defines | |
#define | KEY_COMPARE |
#define | RECORD_SIZE 128 |
#define | MB (1024 * 1024) |
Functions | |
template<typename T , typename alloc_strategy_type , unsigned block_size> | |
void | test (stxxl::uint64 data_mem, unsigned memory_to_use) |
template<typename T , unsigned block_size> | |
void | test_all_strategies (stxxl::uint64 data_mem, unsigned memory_to_use, int strategy) |
int | main (int argc, char *argv[]) |
#define KEY_COMPARE |
Definition at line 22 of file test_ksort_all_parameters.cpp.
#define MB (1024 * 1024) |
Definition at line 30 of file test_ksort_all_parameters.cpp.
#define RECORD_SIZE 128 |
Definition at line 27 of file test_ksort_all_parameters.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 95 of file test_ksort_all_parameters.cpp.
References stxxl::atoint64(), block_size, stxxl::get_next_seed(), MB, stxxl::set_seed(), stxxl::srandom_number32(), and STXXL_MSG.
void test | ( | stxxl::uint64 | data_mem, |
unsigned | memory_to_use | ||
) |
Definition at line 34 of file test_ksort_all_parameters.cpp.
References stxxl::vector< Tp_, PgSz_, PgTp_, BlkSize_, AllocStr_, SzTp_ >::begin(), block_size, stxxl::div_ceil(), stxxl::vector< Tp_, PgSz_, PgTp_, BlkSize_, AllocStr_, SzTp_ >::end(), stxxl::generate(), stxxl::is_sorted(), stxxl::ksort(), MB, memory_to_use, stxxl::typed_block< RawSize_, T_, NRef_, InfoType_ >::raw_size, and STXXL_MSG.
void test_all_strategies | ( | stxxl::uint64 | data_mem, |
unsigned | memory_to_use, | ||
int | strategy | ||
) |
Definition at line 70 of file test_ksort_all_parameters.cpp.
References memory_to_use.