Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StackTimer ¶
type StackTimer struct {
// contains filtered or unexported fields
}
StackTimer allows to get the timing breakdown of a nested process.
func NewStackTimer ¶
func NewStackTimer(name string) *StackTimer
NewStackTimer returns a new stack timer.
func (*StackTimer) Start ¶
func (t *StackTimer) Start(name string)
Start pushes an entry on the stack.
func (*StackTimer) Trace ¶
func (t *StackTimer) Trace() string
Trace returns the current stack trace.
Click to show internal directories.
Click to hide internal directories.