Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor allows making statements about the memory ratio used by the application
func NewMonitor ¶
NewMonitor creates a Monitor with the given profiler, limitsetter and rate.
Typically this would be called with runtime.MemProfile, debug.SetMemoryLimit, and runtime.MemProfileRate
Click to show internal directories.
Click to hide internal directories.