Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgObjects ¶
type ProgObjects struct { Objs *bpfObjects // contains filtered or unexported fields }
func NewCSLeBPFProg ¶
func NewCSLeBPFProg() (*ProgObjects, error)
func (*ProgObjects) DestroyEBPFProg ¶
func (p *ProgObjects) DestroyEBPFProg() (err error)
func (*ProgObjects) GetCgroupScheduleLatencyAvg ¶
func (p *ProgObjects) GetCgroupScheduleLatencyAvg(cgroupNames []string) (map[string]float64, error)
GetCgroupScheduleLatencyAvg get cgroup delay and counter with filtering from cgroupNames. @delay is total delay in nanosecond for all pids within this cgroup in the last time window. @counter is total number of finish_task_switch() is called for all pids within this cgroup in tha last time window. @return each cgroup's average CPU schedule latency in the last time window as the result of @delay / @counter.
Click to show internal directories.
Click to hide internal directories.