MCPcopy Create free account

hub / github.com/cch123/gogctuner / functions

Functions24 in github.com/cch123/gogctuner

↓ 5 callersMethodError
(args ...interface{})
tuner.go:17
↓ 4 callersFunctionGenerateMap
(entries int)
tuner_test.go:24
↓ 2 callersMethodDebug
(args ...interface{})
tuner.go:18
↓ 2 callersFunctionNewTuner
NewTuner set useCgroup to true if your app is in docker set percent to control the gc trigger, 0-100, 100 or upper means no limit modify default GOGC
tuner.go:105
↓ 2 callersFunctiongetGOGC
(previousGOGC int, memoryLimitInPercent, memPercent float64)
tuner.go:80
↓ 1 callersFunctionRandStringRunes
(n int)
tuner_test.go:16
↓ 1 callersFunctionSetLogger
(l ILogger)
tuner.go:22
↓ 1 callersFunctiongetCGroupMemoryLimit
()
util.go:78
↓ 1 callersFunctiongetCurrentPercentAndChangeGOGC
()
tuner.go:61
↓ 1 callersFunctiongetMemoryLimit
()
util.go:60
↓ 1 callersFunctionisCGroupV2
()
util.go:87
↓ 1 callersFunctionparseUint
default no limit copied from https://github.com/containerd/cgroups/blob/318312a373405e5e91134d8063d04d59768a1bff/utils.go#L251
util.go:21
↓ 1 callersFunctionreadMemoryLimit
(cgroupPath string)
util.go:94
MethodDebug
(args ...interface{})
tuner.go:39
MethodError
(args ...interface{})
tuner.go:35
FunctionGetPreviousGOGC
GetPreviousGOGC collect GOGC
util.go:132
FunctionTestGetGOGCBasics
(t *testing.T)
tuner_test.go:71
FunctionTestInitDoesNotPanic
(t *testing.T)
tuner_test.go:32
FunctionTestInitDoesNotPanic2
(t *testing.T)
tuner_test.go:51
FunctionfinalizerHandler
(f *finalizerRef)
tuner.go:95
FunctiongetUsageCGroup
()
util.go:39
FunctiongetUsageNormal
return cpu percent, mem in MB, goroutine num not use cgroup ver.
util.go:115
Functioninit
()
tuner_test.go:10
Functioninit
()
tuner.go:12