Documentation ¶
Index ¶
- type EventData
- type Visualizer
- func NewCountLines(width int, height int, bg int, minTime int, maxTime int, resonance float64, ...) Visualizer
- func NewHistogram(width int, height int, bg int, yLog2 float64) Visualizer
- func NewMedianLines(width int, height int, bg int, minTime int, maxTime int, yLog2 float64, ...) Visualizer
- func NewPolarScatter(width int, height int, bg int, minTime int, maxTime int, phasePoint int, ...) Visualizer
- func NewRunTimeLine(width int, height int, bg int, minTime int, maxTime int, yLog2 float64, ...) Visualizer
- func NewScatter(width int, height int, bg int, minTime int, maxTime int, yLog2 float64, ...) Visualizer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventData ¶
type EventData struct { ID int32 // Event identifier. Start int32 // In seconds since the beginning of the Unix epoch. Run int32 // Event run time, in seconds. Type uint8 // Event type indication. Status int8 // 0 for success, >0 for failure, <0 for in-progress. Region uint8 // Region identifier, 0 if undefined. Progress uint8 // Event progress percentage. }
Struct to represent data to submit to the visualization generators, and to be used for the binary log format.
type Visualizer ¶
Abstract interface for visualization generators.
func NewCountLines ¶
func NewCountLines( width int, height int, bg int, minTime int, maxTime int, resonance float64, xGrid int) Visualizer
NewCountLines returns an line-graph event-count-visualization generator.
func NewHistogram ¶
func NewHistogram(width int, height int, bg int, yLog2 float64) Visualizer
NewHistogram returns a histogram-visualization generator.
func NewMedianLines ¶
func NewMedianLines( width int, height int, bg int, minTime int, maxTime int, yLog2 float64, resonance float64, xGrid int) Visualizer
NewMedianLines returns a weighted-median-line visualization generator.
func NewPolarScatter ¶
func NewPolarScatter( width int, height int, bg int, minTime int, maxTime int, phasePoint int, period int, yLog2 float64, colorSteps float64) Visualizer
NewPolarScatter returns a polar floating-point scatter-visualization generator.
func NewRunTimeLine ¶
func NewRunTimeLine( width int, height int, bg int, minTime int, maxTime int, yLog2 float64, xGrid int) Visualizer
NewRunTimeLine returns an line-graph event-run-time-visualization generator.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.