Versions in this module Expand all Collapse all v0 v0.0.8 Jun 25, 2020 Changes in this version + func SavePlot(p *plot.Plot, width, height vg.Length, filename string) error + type MemoryCollection struct + Pid int32 + SampleDuration time.Duration + Samples []MemoryInstant + StartTime time.Time + func NewMemoryCollection(pid int32, sd, duration time.Duration) (*MemoryCollection, error) + func (m *MemoryCollection) GatherRSSXYs() plotter.XYs + func (m *MemoryCollection) GatherVSZXYs() plotter.XYs + func (m *MemoryCollection) Plot(opt PlotOptions) (*plot.Plot, error) + type MemoryInstant struct + Instant time.Duration + MemoryInfo *process.MemoryInfoStat + type PlotOptions struct + PlotRss bool + PlotVsz bool