MCPcopy
hub / github.com/lindb/lindb / Incr

Method Incr

internal/linmetric/gauge.go:62–64  ·  view source on GitHub ↗

Incr increments g.

()

Source from the content-addressed store, hash-verified

60
61// Incr increments g.
62func (g *BoundGauge) Incr() {
63 g.value.Add(1)
64}
65
66// Decr decrements g.
67func (g *BoundGauge) Decr() {

Callers 15

RunMethod · 0.45
newStoreFlusherFunction · 0.45
AddMethod · 0.45
StreamWriterMethod · 0.45
CommitMethod · 0.45
GetReaderMethod · 0.45
CleanupMethod · 0.45
CloseMethod · 0.45
closeReaderMethod · 0.45
evictMethod · 0.45
newMMapStoreReaderFunction · 0.45
getBlockMethod · 0.45

Calls 1

AddMethod · 0.65

Tested by 10

Test_DeltaCounterVecFunction · 0.36
Benchmark_DeltaCounterFunction · 0.36
Test_GaugeVecFunction · 0.36
Benchmark_GaugeVecFunction · 0.36
Benchmark_GaugeFunction · 0.36
Test_CounterFunction · 0.36
Test_MetricScopeFunction · 0.36
Test_GaugeFunction · 0.36
TestPool_idleFunction · 0.36