actpersec

package module
v0.0.0-...-8c24cd6 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 3 Imported by: 21

README

actionstat

golang statistics for activity

Documentation

Overview

Package actpersec calc act per sec , lap and total

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActPerSec

type ActPerSec struct {
	// contains filtered or unexported fields
}

func New

func New() *ActPerSec

func (*ActPerSec) Add

func (a *ActPerSec) Add(n int)

func (*ActPerSec) GetTotalCount

func (a *ActPerSec) GetTotalCount() int

func (*ActPerSec) Inc

func (a *ActPerSec) Inc()

func (*ActPerSec) LapPerSec

func (a *ActPerSec) LapPerSec() float64

func (*ActPerSec) PerSec

func (a *ActPerSec) PerSec() float64

func (ActPerSec) String

func (a ActPerSec) String() string

func (*ActPerSec) UpdateLap

func (a *ActPerSec) UpdateLap()

Jump to

Keyboard shortcuts

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