Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dash ¶
type Dash struct { *Perf // contains filtered or unexported fields }
Dash is a summary widget that can be triggered to show a perf dialog.
func (*Dash) RenderSize ¶
RenderSize calculates the wanted/needed size render the dashboard.
type Perf ¶
Perf is an ecs.Proc that collects Perf data.
func (*Perf) Err ¶
Err return any profiling error encountered; if this is non-nil, then profiling will not start.
func (*Perf) Init ¶
Init sets up the perf system, writing results into a timestamped directory with an optional name prefix.
func (*Perf) Running ¶
Running returns whether profiling has been requested, and whether it actually active.
Click to show internal directories.
Click to hide internal directories.