Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeHeap ¶
type TimeHeap struct {
	// contains filtered or unexported fields
}
    TimeHeap implements a heap sorted by time, where older elements are popped during AveragePerSecond call.
func (*TimeHeap) AveragePerSecond ¶
AveragePerSecond calculates the average per second of all entries in the given duration. older elements are removed from the container.
 Click to show internal directories. 
   Click to hide internal directories.