 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package mem is a library that counts system and process memory usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
	Alloc      uint64 `json:"alloc"`       // allocated memory capacity, unit(M)
	TotalAlloc uint64 `json:"total_alloc"` // cumulative allocated memory capacity, unit(M)
	Sys        uint64 `json:"sys"`         // requesting memory capacity from the system, unit(M)
	NumGc      uint32 `json:"num_gc"`      // number of GC cycles
}
    Process memory information
 Click to show internal directories. 
   Click to hide internal directories.