Documentation ¶
Overview ¶
Contains various utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Prof = Profiler{/* contains filtered or unexported fields */}
Functions ¶
Types ¶
type ProfileResult ¶
type ProfileResult struct { Name string Profileentry }
func (*ProfileResult) Avg ¶
func (v *ProfileResult) Avg() time.Duration
func (ProfileResult) String ¶
func (v ProfileResult) String() string
type Profileentry ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func (*Profiler) Results ¶
func (p *Profiler) Results() (ret []ProfileResult)
func (*Profiler) SortByAvgTime ¶
func (p *Profiler) SortByAvgTime() []ProfileResult
func (*Profiler) SortByName ¶
func (p *Profiler) SortByName() []ProfileResult
func (*Profiler) SortByTotalTime ¶
func (p *Profiler) SortByTotalTime() []ProfileResult
Click to show internal directories.
Click to hide internal directories.