Documentation ¶ Index ¶ func Add(descr string, sleepPeriod time.Duration, timer *time.Duration) func Report(wr io.Writer) type TimerStatistic Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Add ¶ func Add(descr string, sleepPeriod time.Duration, timer *time.Duration) Add a procedure. descr: A description to be used in the report sleepPeriod: The expected sleeping period of the procedure timer: Pointer to actual sleeping period, managed by the caller. func Report ¶ func Report(wr io.Writer) Types ¶ type TimerStatistic ¶ type TimerStatistic struct { // contains filtered or unexported fields } Source Files ¶ View all Source files timerstats.go Click to show internal directories. Click to hide internal directories.