diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-09-30 23:58:12 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-10-02 21:32:29 +0300 |
commit | 480f195dde7ef1fd9fd81ce0ea18924d81a4eda9 (patch) | |
tree | 1e9a96485da713fef53414cb398fec196ff70295 /superkaramba/src/CMakeLists.txt | |
parent | 5965e6b75271960b2a068d37cafb2d76d79b78ac (diff) | |
download | tdeutils-480f195dde7ef1fd9fd81ce0ea18924d81a4eda9.tar.gz tdeutils-480f195dde7ef1fd9fd81ce0ea18924d81a4eda9.zip |
Superkaramba: add GPU load sensor
The sensor has a required `driver` parameter and an optional `gpu` parameter.
- The former specifies the backend to use to query the system about GPU load.
- The latter specifies the id of the GPU to check. If left out, the backend default will be used.
For now it only supports NVidia GPUs via the `nvidia` driver, but it can be extended.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'superkaramba/src/CMakeLists.txt')
-rw-r--r-- | superkaramba/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/superkaramba/src/CMakeLists.txt b/superkaramba/src/CMakeLists.txt index 211ee0c..c38d41b 100644 --- a/superkaramba/src/CMakeLists.txt +++ b/superkaramba/src/CMakeLists.txt @@ -53,8 +53,8 @@ tde_add_executable( superkaramba AUTOMOC sknewstuff.h sknewstuff.cpp superkarambasettings.kcfgc themelocale.cpp input.cpp sklineedit.cpp input_python.cpp - svcgrp_python.cpp - LINK tdeio-shared ${PYTHON_LIBRARIES} + svcgrp_python.cpp gpusensor.cpp + LINK tdeio-shared ${PYTHON_LIBRARIES} ${TDENEWSTUFF_LIBRARIES} ${LIBKVM_LIBRARIES} DESTINATION ${BIN_INSTALL_DIR} |