package
0.0.0-20151215094434-9aa9c3bf18f3
Repository: https://github.com/itshosted/mcore.git
Documentation: pkg.go.dev

# README

95th calc

Calculate 95th from a set of metrics for billing. Basically 95% is taking all measurepoints, removing the highest 5% of metric points and returning the highest value from the remaining measurepoints.

import "github.com/xsnews/mcore/calc"

n := NewNineFifth()
nineFifthDayOne := n.Add(dayOne, false)

nineFifthDayTwo := n.Add(dayTwo, true)

nineFifthTotal := n.Total95th()

For a descent example please have a look at the unit test.

# Functions

Get new 95th calculator.

# Structs

No description provided by the author