]> git.ipfire.org Git - thirdparty/collectd.git/commit
gpu_sysman: Add ratio variant for power metric type
authorEero Tamminen <eero.t.tamminen@intel.com>
Thu, 8 Sep 2022 17:18:59 +0000 (20:18 +0300)
committerMatthias Runge <mrunge@matthias-runge.de>
Tue, 8 Nov 2022 12:24:36 +0000 (13:24 +0100)
commit1ca0f2846ba6bb721c1b02b706f737e4ac537fe5
treef056510e0512288b1d926641b51dab4481ec72f8
parentc381d0feb7e62c4a8ce521f341f01acbe9007a98
gpu_sysman: Add ratio variant for power metric type

Needs new internal disable flag because power limit requires new
Sysman call which can fail separately from others (or reported limits
could be disabled).  Because it's not called on first round, that
needs some changes to test checks too.

With all 3 metric variants being supported, variants check can be
removed.

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