package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Functions

Duration is a convenience function for calling GlobalCounters.Duration(name).
Integer is a convenience function for calling GlobalCounters.Integer(name).
NewCounters allocates a new set of counters.

# Variables

GlobalCounters is a singleton set of performance counters.
LinearTime represents an algorithmic complexity of O(n).

# Structs

Counters represents a collection of named performance counters.
LinearFit is a linear time fitting (y = α + βx).
Sample represents a single benchmark sample.

# Interfaces

Complexity represents the complexity of an algorithm.
Fit represents a complexity fit for the samples.

# Type aliases

DurationCounter is a Counter that holds an int64, exposed as a time.Duration.
IntegerCounter is a Counter that holds an int64 value.
Samples is a list of samples.