hpx/performance_counters/performance_counter.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
performance_counters
Functions
-
std::vector<performance_counter>
discover_counters
(std::string const &name, error_code &ec = throws)¶
-
struct
performance_counter
: public components::client_base<performance_counter, server::base_performance_counter>¶ Public Types
-
using
base_type
= components::client_base<performance_counter, server::base_performance_counter>¶
Public Functions
-
performance_counter
()¶
-
performance_counter
(hpx::future<performance_counter> &&c)¶
-
future<counter_info>
get_info
() const¶
-
counter_info
get_info
(launch::sync_policy, error_code &ec = throws) const¶
-
future<counter_value>
get_counter_value
(bool reset = false)¶
-
counter_value
get_counter_value
(launch::sync_policy, bool reset = false, error_code &ec = throws)¶
-
future<counter_value>
get_counter_value
() const¶
-
counter_value
get_counter_value
(launch::sync_policy, error_code &ec = throws) const¶
-
future<counter_values_array>
get_counter_values_array
(bool reset = false)¶
-
counter_values_array
get_counter_values_array
(launch::sync_policy, bool reset = false, error_code &ec = throws)¶
-
future<counter_values_array>
get_counter_values_array
() const¶
-
counter_values_array
get_counter_values_array
(launch::sync_policy, error_code &ec = throws) const¶
-
future<bool>
start
()¶
-
bool
start
(launch::sync_policy, error_code &ec = throws)¶
-
future<bool>
stop
()¶
-
bool
stop
(launch::sync_policy, error_code &ec = throws)¶
-
future<void>
reset
()¶
-
void
reset
(launch::sync_policy, error_code &ec = throws)¶
-
future<void>
reinit
(bool reset = true)¶
-
void
reinit
(launch::sync_policy, bool reset = true, error_code &ec = throws)¶
-
std::string
get_name
(launch::sync_policy, error_code &ec = throws) const¶
-
template<typename
T
>
Tget_value
(launch::sync_policy, bool reset = false, error_code &ec = throws)¶
-
template<typename
T
>
Tget_value
(launch::sync_policy, error_code &ec = throws) const¶
Private Static Functions
-
template<typename
T
>
static Textract_value
(future<counter_value> &&value)¶
-
using
-
std::vector<performance_counter>
-
namespace