Versions in this module Expand all Collapse all v0 v0.6.0-alpha.4 Apr 17, 2018 v0.5.0 Nov 21, 2017 Changes in this version + const QUIT + const RESET + const START + const STOP + func MemProfiler(dir string, interval time.Duration) + func StartHttpPProf(bind string) + type Counter struct + Coords *RpsCounter + Nodes *RpsCounter + Relations *RpsCounter + Ways *RpsCounter + func NewCounter() *Counter + func NewCounterWithEstimate(counts ElementCounts) *Counter + func (c *Counter) CurrentCount() *ElementCounts + func (c *Counter) Duration() time.Duration + func (c *Counter) PrintStats() + func (c *Counter) PrintTick() + func (c *Counter) Tick() + type ElementCount struct + Current int64 + LastRps float64 + Rps float64 + Total int64 + type ElementCounts struct + Coords ElementCount + Nodes ElementCount + Relations ElementCount + Ways ElementCount + type RpsCounter struct + func NewRpsCounter() *RpsCounter + func (r *RpsCounter) Add(n int) + func (r *RpsCounter) Count() ElementCount + func (r *RpsCounter) LastRps() float64 + func (r *RpsCounter) Progress() float64 + func (r *RpsCounter) Rps() float64 + func (r *RpsCounter) Tick() + func (r *RpsCounter) Value() int64 + type Statistics struct + func NewStatsReporter() *Statistics + func NewStatsReporterWithEstimate(counts *ElementCounts) *Statistics + func (s *Statistics) AddCoords(n int) + func (s *Statistics) AddNodes(n int) + func (s *Statistics) AddRelations(n int) + func (s *Statistics) AddWays(n int) + func (s *Statistics) Stop() *ElementCounts