perfstat

package
v0.0.0-...-667e438 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintStats

func PrintStats()

PrintStats prints the stats in the log file.

func ResetStats

func ResetStats()

ResetStats resets all the stats data

func UpdateDataStat

func UpdateDataStat(id string, value int64)

UpdateDataStat updates the stats for data at a particular point in the code

func UpdateTimeStat

func UpdateTimeStat(id string, startTime time.Time)

UpdateTimeStat updates the stats for time spent at a particular point in the code

Types

This section is empty.

Jump to

Keyboard shortcuts

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