statquery

package
v0.0.0-...-0feff92 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepConfig

type DepConfig struct {
	Name         string
	MaxOpenConns int
	CacheAddr    []string
	CachePort    int
	CacheSize    int64
	BackendType  string
	BackendUrl   string
	WriteProb    float32
	FbackPars    *FbackParameters
}

type FbackParameters

type FbackParameters struct {
	Hardness  int
	IdCount   int
	SizeLower int
	SizeUpper int
}

config

type GetStatResult

type GetStatResult map[string]interface{}

type HitStatEntry

type HitStatEntry struct {
	RAddr   string
	HitStat HitStatistic
}

type HitStatistic

type HitStatistic map[string]float64

type LatHeap

type LatHeap []int64

func (LatHeap) Len

func (h LatHeap) Len() int

func (LatHeap) Less

func (h LatHeap) Less(i, j int) bool

func (*LatHeap) Pop

func (h *LatHeap) Pop() interface{}

func (*LatHeap) Push

func (h *LatHeap) Push(x interface{})

func (LatHeap) Swap

func (h LatHeap) Swap(i, j int)

type Latency

type Latency struct {
	Lat int64  // latency
	St  int8   // result: 0 cache miss, 1 cache hit, -1 error (later manually add type 2 - overall)
	Tp  string // request type
	Cp  string // Critpath: only set if Tp=="req", then slowest request type
}

types for latency reporting

type MemLimit

type MemLimit struct {
	Limits  []int64
	Mallocs []int64
}

type MemLimits

type MemLimits map[string]MemLimit

type PerControllerMemLimits

type PerControllerMemLimits map[string]MemLimits

type Results

type Results struct {
	Data []Latency
}

Jump to

Keyboard shortcuts

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