Classes | |
class | GlobalQueueMetrics |
Functions | |
void | histogram_sample () |
void | merge (MetricList &result) |
Merge registered stats from all cores into result list. More... | |
void | print (std::ostream &out=std::cerr, MetricList &stats=Grappa::impl::registered_stats(), const std::string &legacy_stats="") |
Print all registered stats in JSON format. More... | |
void | merge_and_print (std::ostream &out=std::cerr) |
Create clone of stats list, merge all stats into it, and print them. More... | |
void | merge_and_dump_to_file () |
Merge stats from all cores and dump them to file specified by '–stats_blob_filename'. More... | |
void | dump_stats_blob () |
Dump local registered stats to file. More... | |
void | reset () |
Reset all local registered stats. More... | |
void | reset_all_cores () |
Do reset() on all cores (uses Grappa::call_on_all_cores ) More... | |
void | start_tracing () |
Begin recording stats using VampirTrace (also enables Google gperf profiling) (also resets stats) More... | |
void | start_tracing_here () |
Only call 'start_tracing' on this core (use in SPMD context) More... | |
void | stop_tracing_here () |
Only call 'stop_tracing' on this core (use in SPMD context) More... | |
void | stop_tracing () |
Stop recording tracing and profiling information. More... | |
void | sample () |
Sample all local registered stats. More... | |
void | sample_all () |
Variables | |
GlobalQueueMetrics | global_queue_stats |
void Grappa::Metrics::dump_stats_blob | ( | ) |
Dump local registered stats to file.
Definition at line 167 of file Metrics.cpp.
void Grappa::Metrics::histogram_sample | ( | ) |
Definition at line 37 of file HistogramMetric.cpp.
void Grappa::Metrics::merge | ( | MetricList & | result | ) |
Merge registered stats from all cores into result
list.
result | must be a clone of a core's impl::registered_stats(). |
Definition at line 129 of file Metrics.cpp.
void Grappa::Metrics::merge_and_dump_to_file | ( | ) |
Merge stats from all cores and dump them to file specified by '–stats_blob_filename'.
Definition at line 159 of file Metrics.cpp.
void Grappa::Metrics::merge_and_print | ( | std::ostream & | out | ) |
Create clone of stats list, merge all stats into it, and print them.
Definition at line 152 of file Metrics.cpp.
void Grappa::Metrics::print | ( | std::ostream & | out = std::cerr , |
MetricList & | stats = Grappa::impl::registered_stats() , |
||
const std::string & | legacy_stats = "" |
||
) |
Print all registered stats in JSON format.
Takes another argument for including legacy stats in output (inside "STATS{ }STATS" bookends)
Definition at line 139 of file Metrics.cpp.
void Grappa::Metrics::reset | ( | ) |
Reset all local registered stats.
Definition at line 175 of file Metrics.cpp.
void Grappa::Metrics::reset_all_cores | ( | ) |
Do reset()
on all cores (uses Grappa::call_on_all_cores
)
Definition at line 181 of file Metrics.cpp.
void Grappa::Metrics::sample | ( | ) |
Sample all local registered stats.
Definition at line 240 of file Metrics.cpp.
void Grappa::Metrics::sample_all | ( | ) |
void Grappa::Metrics::start_tracing | ( | ) |
Begin recording stats using VampirTrace (also enables Google gperf profiling) (also resets stats)
Definition at line 198 of file Metrics.cpp.
void Grappa::Metrics::start_tracing_here | ( | ) |
Only call 'start_tracing' on this core (use in SPMD context)
Definition at line 204 of file Metrics.cpp.
void Grappa::Metrics::stop_tracing | ( | ) |
Stop recording tracing and profiling information.
Trace/profile is written out and aggregated at end of execution.
Definition at line 234 of file Metrics.cpp.
void Grappa::Metrics::stop_tracing_here | ( | ) |
Only call 'stop_tracing' on this core (use in SPMD context)
Definition at line 222 of file Metrics.cpp.
GlobalQueueMetrics Grappa::Metrics::global_queue_stats |