tidb: github.com/pingcap/tidb/util/disk Index | Files

package disk

import "github.com/pingcap/tidb/util/disk"


Package Files



var NewGlobalTrcaker = memory.NewGlobalTracker

NewGlobalTrcaker creates a global disk tracker.

var NewTracker = memory.NewTracker

NewTracker creates a disk tracker.

1. "label" is the label used in the usage string.
2. "bytesLimit <= 0" means no limit.

type Tracker Uses

type Tracker = memory.Tracker

Tracker is used to track the disk usage during query execution.

Package disk imports 1 packages (graph) and is imported by 14 packages. Updated 2020-05-23. Refresh now. Tools for package owners.