Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collection ¶ added in v0.1.1
type Collection struct { Pid int32 StartTime time.Time SampleDuration time.Duration // Time between samples Samples []Instant }
func NewCollection ¶ added in v0.1.1
func NewCollection(pid int32, sd, dur time.Duration) (*Collection, error)
Gather a process resident size in memory in batch
func (*Collection) GatherRSSXYs ¶ added in v0.1.1
func (m *Collection) GatherRSSXYs() plotter.XYs
Gather RSS points from a memory collection
func (*Collection) GatherVSZXYs ¶ added in v0.1.1
func (m *Collection) GatherVSZXYs() plotter.XYs
Gather VSZ points from a memory collection
func (*Collection) Plot ¶ added in v0.1.1
func (m *Collection) Plot(opt PlotOptions) (*plot.Plot, error)
Plot a memory collection
type Instant ¶ added in v0.1.1
type Instant struct { MemoryInfo *process.MemoryInfoStat Instant time.Duration }
Memory data for a given instant
type PlotOptions ¶
Click to show internal directories.
Click to hide internal directories.