Perf metrics¶
This file initiates the script to extract real time perf metrics
-
class
monitormetrics.cpumetrics.perfmetrics.
MonitorPerfEventsMetrics
(config)[source]¶ Engine to extract performance metrics
-
compute_derived_metrics
()[source]¶ This method computes all the derived metrics from parsed perf counters
-
get_list_of_pids
()[source]¶ This method gets the list of pids to monitor by adding children pids to parents
-
initialise_perf_metrics_data_dict
()[source]¶ This method initialises the perf metric related parameters
-
static
match_perf_line
(pattern, cmd_out)[source]¶ This method builds perf output pattern and get matching groups
-
parse_perf_cmd_out
(cmd_out)[source]¶ This method parses perf command output and populate perf data dict with counter values
-