Documentation ¶
Overview ¶
Package timecounter provides functionality for aggregating times based on a string key.
Index ¶
Constants ¶
View Source
const ( // CounterGroupDefTime is the counter for definition times. CounterGroupDefTime counterGroupType = iota + 1 // CounterGroupLHSDefTime is the counter for LHS definition times. CounterGroupLHSDefTime // CounterGroupEvalTime is the counter for eval times. CounterGroupEvalTime // CounterGroupHeadEvalTime is the counter for head eval times. CounterGroupHeadEvalTime )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group collects eval-related timeCounters.
func (*Group) AddTime ¶
AddTime adds a floating-point time to a particular timeCounter, selected with a counterGroupType.
Click to show internal directories.
Click to hide internal directories.