KUnit test for the DIM library

modulename: dim_kunit.ko

configname: CONFIG_DIMLIB_KUNIT_TEST

Linux Kernel Configuration
└─>Kernel hacking
└─>Kernel Testing and Coverage
└─>Runtime Testing
└─>KUnit - Enable support for unit tests
└─>KUnit test for the DIM library
In linux kernel since version 7.2.10 (release Date: 2026-10-11)
This builds the KUnit test for the Dynamic Interrupt Moderation
library (lib/dim/), which checks the rate statistics computed by
dim_calc_stats().

For more information on KUnit and unit tests in general please refer
to the KUnit documentation in <a href="https://www.kernel.org/doc/Documentation/dev-tools/kunit/.

If">Documentation/dev-tools/kunit/.

If</a> unsure, say N.
source code: