oplogger

package
v0.0.0-...-05a0e05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(size int) *Logger

func (*Logger) Dump

func (l *Logger) Dump() []byte

func (*Logger) DumpPlot

func (l *Logger) DumpPlot(
	workerCount, n int,
	matchFilename string,
	updateFilename string,
	complexFilename string,
) error

func (*Logger) LogMatch

func (l *Logger) LogMatch(now int32, workerID, iteration, length int, duration int64, success bool)

func (*Logger) LogUpdate

func (l *Logger) LogUpdate(now int32, workerID, iteration, length int, duration int64, success bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL