Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimerMetrics ¶
func NewTimerMetrics ¶
func NewTimerMetrics(statusEvery int, prefix string) *TimerMetrics
start a new TimerMetrics to print out metrics every n times
func (*TimerMetrics) Status ¶
func (m *TimerMetrics) Status(startTime time.Time)
func (*TimerMetrics) StatusDuration ¶
func (m *TimerMetrics) StatusDuration(duration time.Duration)
Click to show internal directories.
Click to hide internal directories.