Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckerFunc ¶
type CheckerFunc func(*core.RegionsInfo) bool
CheckerFunc checks if the scheduler is finished.
type Conf ¶
type Conf struct {
Stores []Store
Regions []Region
MaxID uint64
RegionSplitSize int64
WrittenBytes func(tick int64) map[string]int64 // To simulate region grow.
RegionWriteBytes func(tick int64) map[uint64]int64 // To simulate write flow.
RegionReadBytes func(tick int64) map[uint64]int64 // To simulate read flow.
Checker CheckerFunc // To check the schedule is finished.
}
Conf represents a test suite for simulator.
Click to show internal directories.
Click to hide internal directories.