Documentation
¶
Index ¶
- Variables
- func PrintReport(report *Report)
- func StatsForDurations(durations []time.Duration) (time.Duration, time.Duration, time.Duration)
- type ByProcessGuid
- type Report
- func (r *Report) AuctionsPerSecond() float64
- func (r *Report) AuctionsPerformed() int
- func (r *Report) DistributionScore() float64
- func (r *Report) InitialDistributionScore() float64
- func (r *Report) IsAuctionedInstance(inst rep.LRP) bool
- func (r *Report) NMissingInstances() int
- func (r *Report) NReps() int
- func (r *Report) WaitTimeStats() Stat
- type SVGReport
- type Stat
Constants ¶
This section is empty.
Variables ¶
View Source
var ReportCardHeight = border*3 + instanceBoxHeight
View Source
var ReportCardWidth = border*3 + instanceBoxWidth + graphWidth
Functions ¶
func PrintReport ¶
func PrintReport(report *Report)
Types ¶
type ByProcessGuid ¶
func (ByProcessGuid) Len ¶
func (a ByProcessGuid) Len() int
func (ByProcessGuid) Less ¶
func (a ByProcessGuid) Less(i, j int) bool
func (ByProcessGuid) Swap ¶
func (a ByProcessGuid) Swap(i, j int)
type Report ¶
type Report struct {
Cells map[string]rep.Client
NumAuctions int
AuctionResults auctiontypes.AuctionResults
AuctionDuration time.Duration
CellStates map[string]rep.CellState
InstancesByRep map[string][]rep.LRP
// contains filtered or unexported fields
}
func NewReport ¶
func NewReport(numAuctions int, cells map[string]rep.Client, results auctiontypes.AuctionResults, duration time.Duration) *Report
func (*Report) AuctionsPerSecond ¶
func (*Report) AuctionsPerformed ¶
func (*Report) DistributionScore ¶
func (*Report) InitialDistributionScore ¶
func (*Report) NMissingInstances ¶
func (*Report) WaitTimeStats ¶
type SVGReport ¶
func (*SVGReport) DrawReportCard ¶
Click to show internal directories.
Click to hide internal directories.