package
2.12.0+incompatible
Repository: https://github.com/intel/svr-info.git
Documentation: pkg.go.dev
# Functions
ConfigureMetrics prepares metrics for use by the evaluator, by e.g., replacing metric constants with known values and aligning metric variables to perf event groups.
DisableNMIWatchdog - sets the kernel.nmi_watchdog value to "0".
EnableNMIWatchdog - sets the kernel.nmi_watchdog value to "1".
GetCgroups - gets the list of full cgroup names associated with the given list of partial cgroup names.
GetEvaluatorFunctions defines functions that can be called in metric expressions.
GetEventFrames organizes raw events received from perf into one or more frames (groups of events) that will be used for calculating metrics.
GetHotCgroups - get maxCgroups cgroup names whose associated processes have the highest CPU utilization, matching filter if provided.
GetHotProcesses - get maxProcesses processes with highest CPU utilization, matching filter if provided.
GetMuxIntervals - get a map of sysfs device file names to current mux value for the associated device.
GetProcesses - gets the list of processes associated with the given list of process IDs.
No description provided by the author
GetTSCFreqMHz - gets the TSC frequency.
No description provided by the author
LoadEventGroups reads the events defined in the architecture specific event definition file, then expands them to include the per-device uncore events.
LoadMetadata - populates and returns a Metadata structure containing state of the system.
LoadMetadataFromFile - used for testing and debugging only needed for generating metrics: CoresPerSocket int Microarchitecture string SocketCount int ThreadsPerCore int TSC int TSCFrequencyHz int.
LoadMetricDefinitions reads and parses metric definitions from an architecture-specific metric definition file.
NMIWatchdogEnabled - reads the kernel.nmi_watchdog value.
PostProcess - generates formatted output from a CSV file containing metric values.
ProcessEvents is responsible for producing metrics from raw perf events.
SetAllMuxIntervals - writes the given interval (ms) to all perf mux sysfs device files.
SetMuxIntervals - write the given intervals (values in ms) to the given sysfs device file names (key).
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
CmdLineArgs represents the program arguments provided by the user.
Event represents the structure of an event output by perf stat...with a few exceptions.
EventDefinition represents a single perf event.
EventFrame represents the list of EventGroups collected with a specific timestamp and sometimes present cgroup.
EventGroup represents a group of perf events and their values.
Metadata is the representation of the platform's state and capabilities.
Metric represents a metric (name, value) derived from perf events.
No description provided by the author
MetricFrame represents the metrics values and associated metadata.
No description provided by the author
No description provided by the author
# Type aliases
Format represents the format of the metric output.
Granularity represents the requested granularity level for produced metrics.
GroupDefinition represents a group of perf events.
Scope represents the requested scope of event collection.
Summary represents the format of the post-processed summary report.