metrics

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCVersion

type GCVersion struct {
	Version uint64
	Size    uint64
}

type Metrics

type Metrics interface {
	// The current version of smt
	Version(uint64)
	// The current pruned version of smt
	PrunedVersion(uint64)
	// The current size of tree
	CurrentSize(uint64)
	// The size changed of each commit, rollback
	ChangeSize(uint64)
	// The number of nodes for each commit
	CommitNum(int)
	// The version number of the last GC
	LatestGCVersion(uint64)
	// GC trigger threshold
	GCThreshold(uint64)
	// GC info for each field value
	GCVersions([10]*GCVersion)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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