Documentation
¶
Index ¶
- func ConvertCSVToBinary(iPath string, oPath string, minTime int32, maxTime int32, typeFilter int, ...)
- func DumpEventData(events *[]perspective.EventData, tA int32, tΩ int32, typeFilter int, ...)
- func GeneratePNGFromBinLog(events *[]perspective.EventData, tA int32, tΩ int32, typeFilter int, ...)
- func GetSuccessRate(events *[]perspective.EventData, tA int32, tΩ int32, typeFilter int, ...)
- func MapBinLogFile(path string, lookback int64) *[]perspective.EventData
- func UnmapBinLogFile(eventData *[]perspective.EventData) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCSVToBinary ¶
func DumpEventData ¶
func DumpEventData( events *[]perspective.EventData, tA int32, tΩ int32, typeFilter int, regionFilter int, statusFilter int, out io.Writer)
DumpEventData reads a binary-log formatted event-data dump and writes out a listing of the data in the event records which match the specified filtering criteria. These values are written as all int32 values for the sake of making the output easier to consume with such things as a JavaScript Typed Array parser (which lacks native support for such concepts as c-style structs).
func GeneratePNGFromBinLog ¶
func GeneratePNGFromBinLog( events *[]perspective.EventData, tA int32, tΩ int32, typeFilter int, regionFilter int, statusFilter int, v perspective.Visualizer, out io.Writer)
GeneratePNGFromBinLog reads a binary-log formatted event-data dump and renders a visualization as a PNG file using the specified visualization generator and input-filtering parameters.
func GetSuccessRate ¶
func GetSuccessRate( events *[]perspective.EventData, tA int32, tΩ int32, typeFilter int, regionFilter int, out io.Writer)
GetSuccessRate reads a binary-log formatted event-data dump and writes out the rate of successful event completions relative to all event completions within the specified time range and event type filter criteria, encoded as a string percentage value of up to five places (like "99.997%").
func MapBinLogFile ¶
func MapBinLogFile(path string, lookback int64) *[]perspective.EventData
func UnmapBinLogFile ¶
func UnmapBinLogFile(eventData *[]perspective.EventData) error
Types ¶
This section is empty.