hpx/performance_counters/performance_counter_set.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
performance_counters
-
class
performance_counter_set
¶ Public Functions
-
performance_counter_set
(bool print_counters_locally = false)¶ Create an empty set of performance counters.
-
performance_counter_set
(std::string const &names, bool reset = false)¶ Create a set of performance counters from a name, possibly containing wild-card characters
-
void
add_counters
(std::string const &names, bool reset = false, error_code &ec = throws)¶ Add more performance counters to the set based on the given name, possibly containing wild-card characters
-
void
add_counters
(std::vector<std::string> const &names, bool reset = false, error_code &ec = throws)¶
-
std::vector<counter_info>
get_counter_infos
() const¶ Retrieve the counter infos for all counters in this set.
-
std::vector<hpx::future<counter_value>>
get_counter_values
(bool reset = false) const¶ Retrieve the values for all counters in this set supporting this operation
-
std::vector<counter_value>
get_counter_values
(launch::sync_policy, bool reset = false, error_code &ec = throws) const¶
-
std::vector<hpx::future<counter_values_array>>
get_counter_values_array
(bool reset = false) const¶ Retrieve the array-values for all counters in this set supporting this operation
-
std::vector<counter_values_array>
get_counter_values_array
(launch::sync_policy, bool reset = false, error_code &ec = throws) const¶
-
void
reset
(launch::sync_policy, error_code &ec = throws)¶
-
bool
start
(launch::sync_policy, error_code &ec = throws)¶
-
bool
stop
(launch::sync_policy, error_code &ec = throws)¶
-
void
reinit
(launch::sync_policy, bool reset = true, error_code &ec = throws)¶
-
void
release
()¶ Release all references to counters in the set.
Protected Functions
-
bool
find_counter
(counter_info const &info, bool reset, error_code &ec)¶
Protected Static Functions
-
-
class
-
namespace