Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) SetMaintainSum ¶
type WindowEstimator ¶
type WindowEstimator struct {
// contains filtered or unexported fields
}
demand monitor is a demand estimator. it monitors the demand from the past and estimates future demand based on a windowed history
func NewWindowEstimator ¶
func NewWindowEstimator(n uint64) *WindowEstimator
func (*WindowEstimator) Estimate ¶
func (self *WindowEstimator) Estimate() (Matrix, uint64)
func (*WindowEstimator) Tell ¶
func (self *WindowEstimator) Tell(demand Matrix)
type WindowTracker ¶
type WindowTracker struct { D *density.Density Logger *simlog.MatWriter // contains filtered or unexported fields }
func NewWindowTracker ¶
func NewWindowTracker(n uint64) *WindowTracker
func (*WindowTracker) Tell ¶
func (self *WindowTracker) Tell(demand structs.Matrix)
Click to show internal directories.
Click to hide internal directories.