SortingBenchmark ================ .. cpp:class:: numpy::SortingBenchmark numpy C++ class. Example ------- .. code-block:: cpp #include using namespace numpy; // Use SortingBenchmark SortingBenchmark obj; // ... operations ... Constructors ------------ .. list-table:: :widths: 55 25 20 :header-rows: 1 * - Signature - Location - Example * - ``SortingBenchmark(unsignedseed = std::random_device{}())`` - NP_BENCHMARK_SORTING.H:228 - Indexing / Selection -------------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``std::string get_pattern_name(DataPatternpattern)`` - std::string - NP_BENCHMARK_SORTING.H:370 - Other Methods ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``BenchmarkResult benchmark_algorithm(const std::string &name, SortFunctionsort_func, size_tarray_size, DataPatternpattern, intiterations = 5)`` - BenchmarkResult - NP_BENCHMARK_SORTING.H:230 -