Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
62
func
(g *BoundGauge) Incr() {
63
g.value.Add(1)
64
}
65
66
// Decr decrements g.
67
func
(g *BoundGauge) Decr() {
Callers
15
Run
Method · 0.45
newStoreFlusher
Function · 0.45
Add
Method · 0.45
StreamWriter
Method · 0.45
Commit
Method · 0.45
GetReader
Method · 0.45
Cleanup
Method · 0.45
Close
Method · 0.45
closeReader
Method · 0.45
evict
Method · 0.45
newMMapStoreReader
Function · 0.45
getBlock
Method · 0.45
Calls
1
Add
Method · 0.65
Tested by
10
Test_DeltaCounterVec
Function · 0.36
Benchmark_DeltaCounterVec
Function · 0.36
Benchmark_DeltaCounter
Function · 0.36
Test_GaugeVec
Function · 0.36
Benchmark_GaugeVec
Function · 0.36
Benchmark_Gauge
Function · 0.36
Test_Counter
Function · 0.36
Test_MetricScope
Function · 0.36
Test_Gauge
Function · 0.36
TestPool_idle
Function · 0.36