package
0.0.0-20250328141702-0be2411d0833
Repository: https://github.com/usnistgov/ndn-dpdk.git
Documentation: pkg.go.dev

# README

ndn-dpdk/core/runningstat

This package implements Knuth and Welford's method for computing the standard deviation. Compared to the original RunningStats C++ class, this implementation does not support skewness and kurtosis, adds tracking of the minimum and maximum values, and can be configured to periodically sample the input instead of sampling every input.

To add an input, use the C function RunningStat_Push, or RunningStat_Push1 when minimum and maximum are unnecessary. To compute the average and standard deviation, use the Go type RunningStat.

# Variables

GqlSnapshotType is the GraphQL type for Snapshot.

# Structs

Snapshot contains a snapshot of RunningStat reading.