Documentation ¶
Index ¶
- type Profiler
- func (p *Profiler) GetCPU() []float64
- func (p *Profiler) GetDiskPartitionsUsage() (map[string]*disk.UsageStat, error)
- func (p *Profiler) GetHomePathDiskUsage() *disk.UsageStat
- func (p *Profiler) GetMem() (*mem.VirtualMemoryStat, error)
- func (p *Profiler) GetPathDiskUsage(path string) *disk.UsageStat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func NewProfiler ¶
func (*Profiler) GetDiskPartitionsUsage ¶
func (*Profiler) GetHomePathDiskUsage ¶
Click to show internal directories.
Click to hide internal directories.