Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDelayTimes ¶
func GetDelayTimes() int
GetDelayValue returns the value of the global delayTimes
func SetDelayTimes ¶
func SetDelayTimes(value int)
SetDelayValue sets the value of the global delayTimes
func SetMemCompact ¶
func SetMemCompact(conf *coreconfig.Configuration, _ interface{}, _ *dynamicconfig.DynamicAgentConfiguration, emitter metrics.MetricEmitter, metaServer *metaserver.MetaServer, )
SetMemCompact is the unified solution for memory compaction.
* it includes 3 parts: * 1, set the threshold of fragmentation score that triggers synchronous memory compaction in the memory slow path. * 2, if has proactive compaction feature, then set the threshold of fragmentation score for asynchronous memory compaction through compaction_proactiveness. * 3, if no proactive compaction feature, then use the threshold of fragmentation score to trigger manually memory compaction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.