Documentation ¶
Overview ¶
Package profile provides a profiler which can store a key and related TimeRecord.
The profiler is used in various tests to check the performance of code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Prof = NewProfiler()
Functions ¶
This section is empty.
Types ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func NewProfiler ¶
func NewProfiler() *Profiler
func (*Profiler) GetProfileInfoString ¶
func (*Profiler) PrintProfileInfo ¶
func (p *Profiler) PrintProfileInfo()
type TimeRecord ¶
type TimeRecord struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.