Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Period ¶
type Period struct {
// contains filtered or unexported fields
}
Period holds counters etc to compute probabilities for given period size
func NewPeriod ¶
func NewPeriod(history int, states int, buffersize int, periodSize []int, profiler api.TSProfiler) Period
NewPeriod initializes and returns a new Period
func (*Period) Count ¶
Count takes a discretized Buffer represented as TSStates for each metric and increases the counter
func (*Period) GetCurrentPeriodPath ¶
GetCurrentPeriodPath returns the current tree positions
func (*Period) GetTx ¶
func (period *Period) GetTx() models.PeriodTree
GetTx returns for each period the counters' TSProfileMetric matrix
Click to show internal directories.
Click to hide internal directories.