timing¶
The contents of this module can be included with the header
hpx/modules/timing.hpp. These headers may be used by user-code but are not
guaranteed stable (neither header location nor contents). You are using these at
your own risk. If you wish to use non-public functionality from a module we
strongly suggest only including the module header hpx/modules/timing.hpp, not
the particular header in which the functionality you would like to use is
defined. See Public API for a list of names that are part of the public
HPX API.
Header hpx/timing/high_resolution_clock.hpp¶
-
namespace
hpx -
namespace
util -
struct
high_resolution_clock¶ - #include <high_resolution_clock.hpp>
-
struct
-
namespace
Header hpx/timing/high_resolution_timer.hpp¶
-
namespace
hpx
Header hpx/timing/scoped_timer.hpp¶
-
namespace
hpx -
namespace
util -
template<typename
T>
structscoped_timer¶ - #include <scoped_timer.hpp>
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¶
-
-
template<typename
-
namespace
Header hpx/timing/steady_clock.hpp¶
-
namespace
hpx -
namespace
util -
class
steady_duration¶ - #include <steady_clock.hpp>
Public Functions
-
steady_duration(value_type const &rel_time)¶
-
template<typename
Rep, typenamePeriod>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¶ - #include <steady_clock.hpp>
Public Functions
-
steady_time_point(value_type const &abs_time)¶
-
template<typename
Clock, typenameDuration>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¶
-
-
class
-
namespace