bench

package
v0.0.0-...-730fded Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomicCounter

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

func (*AtomicCounter) Add

func (c *AtomicCounter) Add(amount int64)

func (*AtomicCounter) Read

func (c *AtomicCounter) Read() int64

type Counter

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

func (*Counter) Add

func (c *Counter) Add(amount int64)

func (*Counter) Read

func (c *Counter) Read() int64

Jump to

Keyboard shortcuts

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