|
@@ -5,7 +5,7 @@ import "time"
|
|
|
// Timers capture the duration and rate of events.
|
|
// Timers capture the duration and rate of events.
|
|
|
//
|
|
//
|
|
|
// This is an interface so as to encourage other structs to implement
|
|
// This is an interface so as to encourage other structs to implement
|
|
|
-// the Histogram API as appropriate.
|
|
|
|
|
|
|
+// the Timer API as appropriate.
|
|
|
type Timer interface {
|
|
type Timer interface {
|
|
|
Count() int64
|
|
Count() int64
|
|
|
Max() int64
|
|
Max() int64
|