]> git.ipfire.org Git - thirdparty/collectd.git/commit
gpu_sysman: Minor improvements to test code
authorEero Tamminen <eero.t.tamminen@intel.com>
Mon, 24 Oct 2022 14:25:23 +0000 (17:25 +0300)
committerMatthias Runge <mrunge@matthias-runge.de>
Wed, 1 Feb 2023 06:55:27 +0000 (07:55 +0100)
commitcd68f6f24f5515eb8feafa73935a927ff0baed7e
tree36a74be891d582dc3f0ff0068aa80b3f988781d6
parenteefd3e98fb74d703f026f3d9c93e10154e4bb3ef
gpu_sysman: Minor improvements to test code

Decrease max value and increase how many decimals are shown for metric
values, so that tests verbose logging shows useful values also for
ratios (which are in 0-1 range).

Rest of changes improve 'gpu_sysman.c' test coverage by 1%.

Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
src/gpu_sysman_test.c