paramsets

package
v0.0.0-...-03d6fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

paramsets keeps a running summary of paramsets per test, digest pair.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamSummary

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

ParamSummary keep precalculated paramsets for each test, digest pair. It is not thread safe. The client of this package needs to make sure there are no conflicts.

func New

func New() *ParamSummary

New creates a new ParamSummary.

func (*ParamSummary) Calculate

func (s *ParamSummary) Calculate(tilePair *types.TilePair, tallies *tally.Tallies, talliesWithIgnores *tally.Tallies)

Calculate sets the values the ParamSummary based on the given tile.

func (*ParamSummary) Get

func (s *ParamSummary) Get(test, digest string, include bool) map[string][]string

Get returns the paramset for the given digest. If 'include' is true then the paramset is calculated including ignored traces.

func (*ParamSummary) GetByTest

func (s *ParamSummary) GetByTest(includeIngores bool) map[string]map[string]paramtools.ParamSet

GetByTest returns the parameter sets organized by tests and digests:

map[test_name]map[digest]ParamSet

Jump to

Keyboard shortcuts

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