noop

package
v0.26.8-execution-fix-... Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meter

type Meter struct{}

Meter is a noop meter

func NewMeter

func NewMeter() *Meter

NewMeter construct a new noop meter

func (*Meter) ComputationIntensities

func (m *Meter) ComputationIntensities() interfaceMeter.MeteredComputationIntensities

ComputationIntensities returns an empty map

func (*Meter) MemoryIntensities

func (m *Meter) MemoryIntensities() interfaceMeter.MeteredMemoryIntensities

MemoryIntensities returns an empty map

func (*Meter) MergeMeter

func (m *Meter) MergeMeter(child interfaceMeter.Meter, enforceLimits bool) error

MergeMeter merges two noop meters

func (*Meter) MeterComputation

func (m *Meter) MeterComputation(_ common.ComputationKind, _ uint) error

MeterComputation is a noop

func (*Meter) MeterMemory

func (m *Meter) MeterMemory(_ common.MemoryKind, _ uint) error

MeterMemory is a noop

func (*Meter) NewChild

func (m *Meter) NewChild() interfaceMeter.Meter

NewChild returns a new noop meter

func (*Meter) TotalComputationLimit

func (m *Meter) TotalComputationLimit() uint

TotalComputationLimit always returns zero

func (*Meter) TotalComputationUsed

func (m *Meter) TotalComputationUsed() uint

TotalComputationUsed always returns zero

func (*Meter) TotalMemoryLimit

func (m *Meter) TotalMemoryLimit() uint

TotalMemoryLimit always returns zero

func (*Meter) TotalMemoryUsed

func (m *Meter) TotalMemoryUsed() uint

TotalMemoryUsed always returns zero

Jump to

Keyboard shortcuts

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