Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct {
// contains filtered or unexported fields
}
Report aggregates timing data for repeated operations.
type Stats ¶
type Stats struct {
Label string
Count int
Total time.Duration
Min time.Duration
Max time.Duration
Avg time.Duration
Last time.Duration
}
Stats holds aggregate timing statistics for a single label.
type Timer ¶
type Timer struct {
Label string
StartTime time.Time
EndTime time.Time
// contains filtered or unexported fields
}
Timer measures elapsed time for a labeled operation.
Click to show internal directories.
Click to hide internal directories.