Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Statistics ¶
type Statistics struct {
EventCounts map[byte]int
TotalEvents int
StartTime time.Time
Stats map[string]map[string]*TableStats // db -> table -> stats
}
func NewStatistics ¶
func NewStatistics() *Statistics
func (*Statistics) PrintStats ¶
func (s *Statistics) PrintStats()
func (*Statistics) RecordEventType ¶
func (s *Statistics) RecordEventType(eventType byte)
func (*Statistics) RecordOperation ¶
func (s *Statistics) RecordOperation(database, table, operation string, rowCount int, eventTime time.Time)
type TableStats ¶
Click to show internal directories.
Click to hide internal directories.