# Functions
GetOwnResourceUsageTimeInMillis return the user and system CPU usage time in milliseconds.
GetProcCPUPercentage returns the percentage of total CPU time consumed by the process during the period between the given samples.
GetProcMemPercentage returns process memory usage as a percent of total memory usage.
GetSelfPid returns the PID for this process.
Pids returns a list of PIDs.
# Structs
CgroupPctStats stores rendered percent values from cgroup CPU data.
IncludeTopConfig is the configuration for the "top N processes filtering" feature.
Process is the structure which holds the information of a process running on the host.
Stats stores the stats of processes on the host.
Ticks of CPU for a process.
# Type aliases
ProcsMap is a map where the keys are the names of processes and the value is the Process with that name.