Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemManager ¶
type MemManager struct {
// contains filtered or unexported fields
}
MemManager is a manager for memory usage. Although the continuous profiling collects profiles periodically, when TiProxy runs in the replayer mode, the profiles are not collected.
func NewMemManager ¶
func NewMemManager(lg *zap.Logger, cfgGetter config.ConfigGetter) *MemManager
func (*MemManager) Close ¶
func (m *MemManager) Close()
func (*MemManager) Start ¶
func (m *MemManager) Start(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.