hpx/testing/performance.hpp#

Defined in header hpx/testing/performance.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace util

Functions

void perftests_cfg(hpx::program_options::options_description &cmdline)#
void perftests_init(hpx::program_options::variables_map const &vm, std::string const test_name)#
void perftests_report(std::string const &name, std::string const &exec, std::size_t const steps, hpx::function<void()> &&test, hpx::function<void()> pretest = nullptr)#
void perftests_print_times()#
void perftests_report(std::string const &name, std::string const &exec, std::size_t const steps, std::size_t const warmup, hpx::function<void()> &&test, hpx::function<void()> pretest = nullptr)#

Like the perftests_report above, but runs test (after pretest) warmup times untimed before the steps timed runs, instead of the default (40 times with nanobench, once without). For tests whose runs take long, where the default warmup takes much longer than the timed runs.

Variables

bool detailed_#
bool print_cdash_img#
std::string test_name_#