diff options
author | Daniel Hill <daniel@gluo.nz> | 2022-08-06 04:48:49 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:43 +0200 |
commit | 92095781e0f607e735971c1a6462ca6dad8826d2 (patch) | |
tree | 512dffdde6b5714865d7dabc54a4fa7f27a66708 /fs/bcachefs/Kconfig | |
parent | bcachefs: Fix for not dropping privs in fallocate (diff) | |
download | linux-92095781e0f607e735971c1a6462ca6dad8826d2.tar.xz linux-92095781e0f607e735971c1a6462ca6dad8826d2.zip |
bcachefs: Mean and variance
This module provides a fast 64bit implementation of basic statistics
functions, including mean, variance and standard deviation in both
weighted and unweighted variants, the unweighted variant has a 32bit
limitation per sample to prevent overflow when squaring.
Signed-off-by: Daniel Hill <daniel@gluo.nz>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/Kconfig')
-rw-r--r-- | fs/bcachefs/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig index 76953e05b240..f8e208826997 100644 --- a/fs/bcachefs/Kconfig +++ b/fs/bcachefs/Kconfig @@ -71,3 +71,12 @@ config BCACHEFS_NO_LATENCY_ACCT depends on BCACHEFS_FS help This disables device latency tracking and time stats, only for performance testing + +config MEAN_AND_VARIANCE_UNIT_TEST + tristate "mean_and_variance unit tests" if !KUNIT_ALL_TESTS + depends on KUNIT + select MEAN_AND_VARIANCE + default KUNIT_ALL_TESTS + help + This option enables the kunit tests for mean_and_variance module. + If unsure, say N. |