file_summary_by_instance

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2014 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

performance_schema - library routines for pstop.

This file contains the library routines for managing the file_summary_by_instance table.

This file contains the library routines for managing the file_summary_by_instance table.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File_summary_by_instance

type File_summary_by_instance struct {
	ps.RelativeStats
	ps.InitialTime
	// contains filtered or unexported fields
}

a table of rows

func NewFileSummaryByInstance

func NewFileSummaryByInstance(global_variables map[string]string) *File_summary_by_instance

create a new structure and include various variable values: - datadir, relay_log There's no checking that these are actually provided!

func (*File_summary_by_instance) Collect

func (t *File_summary_by_instance) Collect(dbh *sql.DB)

Collect data from the db, then merge it in.

func (File_summary_by_instance) Description

func (t File_summary_by_instance) Description() string

func (File_summary_by_instance) EmptyRowContent

func (t File_summary_by_instance) EmptyRowContent() string

return an empty string of data (for filling in)

func (File_summary_by_instance) Headings

func (t File_summary_by_instance) Headings() string

return the headings for a table

func (File_summary_by_instance) RowContent

func (t File_summary_by_instance) RowContent(max_rows int) []string

return the rows we need for displaying

func (*File_summary_by_instance) SyncReferenceValues added in v0.0.13

func (t *File_summary_by_instance) SyncReferenceValues()

reset the statistics to current values

func (File_summary_by_instance) TotalRowContent

func (t File_summary_by_instance) TotalRowContent() string

return all the totals

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL