timerstats

package
v0.0.0-...-75e2e84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2014 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL