Back to godoc.org
github.com/RoboCup-SSL/ssl-go-tools/pkg/stats

package stats

v1.0.0
Latest Go to latest
Published: Oct 28, 2019 | License: GPL3 | Module: github.com/RoboCup-SSL/ssl-go-tools

Index

type DetectionTimingExportProcessor

type DetectionTimingExportProcessor struct {
	FrameProcessor
	// contains filtered or unexported fields
}

func (*DetectionTimingExportProcessor) Close

func (p *DetectionTimingExportProcessor) Close() error

func (*DetectionTimingExportProcessor) Init

func (p *DetectionTimingExportProcessor) Init(logFile string) error

func (*DetectionTimingExportProcessor) ProcessDetection

func (p *DetectionTimingExportProcessor) ProcessDetection(logMessage *persistence.Message, frame *sslproto.SSL_DetectionFrame)

func (*DetectionTimingExportProcessor) String

func (p *DetectionTimingExportProcessor) String() string

type DetectionTimingProcessor

type DetectionTimingProcessor struct {
	NumDetection uint64

	TCaptureDiffSum float64
	TSentDiffSum    float64
	TReceiveDiffSum float64

	NumCaptureDtOutlyer uint64
	NumSentDtOutlyer    uint64
	NumReceiveDtOutlyer uint64

	FrameProcessor
	// contains filtered or unexported fields
}

func (*DetectionTimingProcessor) Close

func (p *DetectionTimingProcessor) Close() error

func (*DetectionTimingProcessor) Init

func (p *DetectionTimingProcessor) Init(string) error

func (*DetectionTimingProcessor) ProcessDetection

func (p *DetectionTimingProcessor) ProcessDetection(logMessage *persistence.Message, frame *sslproto.SSL_DetectionFrame)

func (*DetectionTimingProcessor) String

func (p *DetectionTimingProcessor) String() (res string)

type FrameProcessor

type FrameProcessor interface {
	ProcessDetection(*persistence.Message, *sslproto.SSL_DetectionFrame)
	ProcessReferee(*persistence.Message, *sslproto.Referee)
	Init(logFile string) error
	io.Closer
}

type Processor

type Processor struct {
	UseAll                   bool
	UseDetectionTimingExport bool
	UseDetectionTiming       bool
}

func (Processor) ProcessFile

func (p Processor) ProcessFile(logFile string)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier