package
0.0.0-20240301233439-3590967ac2be
Repository: https://github.com/nvidia/proxyfs.git
Documentation: pkg.go.dev
# Functions
Register and initialize a set of statistics.
Print one or more groups of statistics.
UnRegister a set of statistics.
# Constants
No description provided by the author
# Structs
Average counts a number of items and their average size.
Holds information for an individual statistics bucket, consisting of:
Count the number of values added to the bucket RangeLow the smallest value mapped to the bucket RangeHigh the largest value mapped to the bucket NominalVal the nominal value of the bucket (sqrt(2)^n or 2^n) MeanVal the mean value of values added to the bucket, assuming
a uniform distribution
When performing math on these statistics be careful of overflowing a uint64.
BucketLog2Round holds bucketized statistics where the stats value is placed in bucket N, determined by round(log2(value) + 1), where round() rounds to the nearest integar and value 0 goes in bucket 0 instead of negative infinity.
BucketLogRoot2Round holds bucketized statistics where the stats value is placed bucket N determined by round(logRoot(2)(value), except that:
value 0 goes in bucket 0 (instead of negative infinity) value 1 goes in bucket 1 (instead of 0) value 2 goes in bucket 2 (instead of 1)
NBucket determines the number of buckets and has a maximum value of 128 and a minimum value that is implementation defined (currently 9).
Total is a simple totaler.
# Type aliases
No description provided by the author