Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Phase ¶
type Phase struct {
// contains filtered or unexported fields
}
Phase handles the phase detection and state counting of the profiler
func NewPhase ¶
func NewPhase(history int, states int, buffersize int, phaseLikeliness float32, phaseHistory int64, phaseHistoryFadeout bool, profiler api.TSProfiler) Phase
NewPhase instantiates and returns a new Phase with the provided parameters
func (*Phase) Count ¶
Count takes a discretized Buffer represented as TSStates for each metric, adjusts the current phase and increases its counter
Click to show internal directories.
Click to hide internal directories.