added access to os.n

This commit is contained in:
Stephen McQuay 2014-11-24 23:06:31 -08:00
parent 74b57a41fe
commit c08709a2b2

View File

@ -104,6 +104,10 @@ func (os *OnlineStat) CI() (float64, float64) {
return os.mean - dev*conf, os.mean + dev*conf return os.mean - dev*conf, os.mean + dev*conf
} }
func (os *OnlineStat) N() uint64 {
return os.n
}
func (os *OnlineStat) String() string { func (os *OnlineStat) String() string {
return fmt.Sprintf( return fmt.Sprintf(
"%+v", "%+v",