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_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.
-
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)#
-
namespace util