Documentation ¶
Overview ¶
* Copyright (C) 2016 Yasumasa Suenaga * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHSPerfDataPath ¶
Types ¶
type HSPerfData ¶
type HSPerfData struct { Prologue PerfDataPrologue ForceCachedEntryName map[string]int // contains filtered or unexported fields }
func (*HSPerfData) ReadAllEntry ¶
func (this *HSPerfData) ReadAllEntry(f *os.File) ([]PerfDataEntry, error)
func (*HSPerfData) ReadCachedEntry ¶
func (this *HSPerfData) ReadCachedEntry(f *os.File) ([]PerfDataEntry, error)
func (*HSPerfData) ReadPrologue ¶
func (this *HSPerfData) ReadPrologue(f *os.File) error
type MetricSet ¶
type MetricSet struct { mb.BaseMetricSet // contains filtered or unexported fields }
MetricSet type defines all fields of the MetricSet As a minimum it must inherit the mb.BaseMetricSet fields, but can be extended with additional entries. These variables can be used to persist data or configuration between multiple fetch calls.