hpx/performance_counters/query_counters.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
util
-
class
query_counters
¶ Public Functions
-
query_counters
(std::vector<std::string> const &names, std::vector<std::string> const &reset_names, std::int64_t interval, std::string const &dest, std::string const &form, std::vector<std::string> const &shortnames, bool csv_header, bool print_counters_locally, bool counter_types)¶
-
~query_counters
()¶
-
void
start
()¶
-
void
stop_evaluating_counters
(bool terminate = false)¶
-
bool
evaluate
(bool force = false)¶
-
void
terminate
()¶
-
void
start_counters
(error_code &ec = throws)¶
-
void
stop_counters
(error_code &ec = throws)¶
-
void
reset_counters
(error_code &ec = throws)¶
-
void
reinit_counters
(bool reset = true, error_code &ec = throws)¶
-
bool
evaluate_counters
(bool reset = false, char const *description = nullptr, bool force = false, error_code &ec = throws)¶
Protected Functions
-
void
find_counters
()¶
-
bool
print_raw_counters
(bool destination_is_cout, bool reset, bool no_output, char const *description, std::vector<performance_counters::counter_info> const &infos, error_code &ec)¶
-
bool
print_array_counters
(bool destination_is_cout, bool reset, bool no_output, char const *description, std::vector<performance_counters::counter_info> const &infos, error_code &ec)¶
-
template<typename
Stream
>
voidprint_headers
(Stream &output, std::vector<performance_counters::counter_info> const &infos)¶
-
template<typename
Stream
, typenameFuture
>
voidprint_values
(Stream *output, std::vector<Future>&&, std::vector<std::size_t> &&indices, std::vector<performance_counters::counter_info> const &infos)¶
-
template<typename
Stream
>
voidprint_value
(Stream *out, performance_counters::counter_info const &infos, performance_counters::counter_value const &value)¶
-
template<typename
Stream
>
voidprint_value
(Stream *out, performance_counters::counter_info const &infos, performance_counters::counter_values_array const &value)¶
-
template<typename
Stream
>
voidprint_value_csv
(Stream *out, performance_counters::counter_info const &infos, performance_counters::counter_value const &value)¶
-
template<typename
Stream
>
voidprint_value_csv
(Stream *out, performance_counters::counter_info const &infos, performance_counters::counter_values_array const &value)¶
Private Functions
-
query_counters *
this_
()¶
Private Members
-
mutex_type
mtx_
¶
-
performance_counters::performance_counter_set
counters_
¶
-
bool
csv_header_
¶
-
bool
print_counters_locally_
¶
-
bool
counter_types_
¶
-
interval_timer
timer_
¶
-
-
class
-
namespace