Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryAspect ¶
type MemoryAspect struct {
ShowInRoot bool
}
func NewMemoryAspect ¶
func NewMemoryAspect(inRoot bool) *MemoryAspect
NewMemoryAspect returns the value of `runtime.ReadMemStats`
func (*MemoryAspect) GetStats ¶
func (a *MemoryAspect) GetStats() interface{}
func (*MemoryAspect) InRoot ¶
func (a *MemoryAspect) InRoot() bool
func (*MemoryAspect) Name ¶
func (a *MemoryAspect) Name() string
type RuntimeAspect ¶
type RuntimeAspect struct {
ShowInRoot bool
}
func NewRuntimeAspect ¶
func NewRuntimeAspect(inRoot bool) *RuntimeAspect
NewRuntimeAspect returns several values from the runtome
func (*RuntimeAspect) GetStats ¶
func (a *RuntimeAspect) GetStats() interface{}
func (*RuntimeAspect) InRoot ¶
func (a *RuntimeAspect) InRoot() bool
func (*RuntimeAspect) Name ¶
func (a *RuntimeAspect) Name() string
type RuntimeAspectData ¶
type TimeAspect ¶
func NewTimeAspect ¶
func NewTimeAspect(inRoot bool) *TimeAspect
NewTimeAspect returns the current time and the running time
func (*TimeAspect) GetStats ¶
func (a *TimeAspect) GetStats() interface{}
func (*TimeAspect) InRoot ¶
func (a *TimeAspect) InRoot() bool
func (*TimeAspect) Name ¶
func (a *TimeAspect) Name() string
Click to show internal directories.
Click to hide internal directories.