diff --git a/core/prof/runtime.go b/core/prof/runtime.go index 085440ea1..17ede442e 100644 --- a/core/prof/runtime.go +++ b/core/prof/runtime.go @@ -11,6 +11,7 @@ const ( mega = 1024 * 1024 ) +// DisplayStats prints the goroutine, memory, GC stats with given interval, default to 5 seconds. func DisplayStats(interval ...time.Duration) { duration := defaultInterval for _, val := range interval {