hpx/timing/scoped_timer.hpp

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

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_