timing

#include <hpx/timing/scoped_timer.hpp>

namespace hpx
namespace util
template<typename T>
struct scoped_timer

Public Functions

scoped_timer(T &t, bool enabled = true)
scoped_timer(scoped_timer const&)
scoped_timer(scoped_timer &&rhs)
~scoped_timer()
scoped_timer &operator=(scoped_timer const &rhs)
scoped_timer &operator=(scoped_timer &&rhs)
bool enabled() const

Private Members

std::uint64_t started_at_
T *t_

#include <hpx/timing/high_resolution_timer.hpp>

namespace hpx
namespace util
class high_resolution_timer

Public Functions

high_resolution_timer()
high_resolution_timer(double t)
void restart()
double elapsed() const
std::int64_t elapsed_microseconds() const
std::int64_t elapsed_nanoseconds() const
double elapsed_max() const
double elapsed_min() const

Public Static Functions

static double now()

Protected Static Functions

static std::uint64_t take_time_stamp()

Private Members

std::uint64_t start_time_

#include <hpx/timing/steady_clock.hpp>

namespace hpx
namespace util
class steady_duration

Public Functions

steady_duration(value_type const &rel_time)
template<typename Rep, typename Period>
steady_duration(std::chrono::duration<Rep, Period> const &rel_time)
value_type const &value() const
steady_clock::time_point from_now() const

Private Types

typedef steady_clock::duration value_type

Private Members

value_type _rel_time
class steady_time_point

Public Functions

steady_time_point(value_type const &abs_time)
template<typename Clock, typename Duration>
steady_time_point(std::chrono::time_point<Clock, Duration> const &abs_time)
value_type const &value() const

Private Types

typedef steady_clock::time_point value_type

Private Members

value_type _abs_time

#include <hpx/timing/high_resolution_clock.hpp>

namespace hpx
namespace util
struct high_resolution_clock

Public Static Functions

static std::uint64_t now()
static std::uint64_t() hpx::util::high_resolution_clock::min()
static std::uint64_t() hpx::util::high_resolution_clock::max()

#include <compatibility/hpx/util/scoped_timer.hpp>

#include <compatibility/hpx/util/high_resolution_timer.hpp>

#include <compatibility/hpx/util/steady_clock.hpp>

#include <compatibility/hpx/util/high_resolution_clock.hpp>