mirror of https://github.com/aristocratos/btop.git
Compare commits
5 Commits
434f83f365
...
bd25f0141c
Author | SHA1 | Date |
---|---|---|
Nathan | bd25f0141c | |
aristocratos | dd4ada7023 | |
aristocratos | b48bf6ae45 | |
Nathan Crapo | e5a9728e23 | |
Nathan Crapo | b904097c6a |
|
@ -143,6 +143,7 @@ target_link_libraries(btop Threads::Threads)
|
|||
# Enable GPU support
|
||||
if(LINUX AND BTOP_GPU)
|
||||
target_compile_definitions(btop PRIVATE GPU_SUPPORT)
|
||||
target_link_libraries(btop dl)
|
||||
|
||||
if(BTOP_RSMI_STATIC)
|
||||
# ROCm doesn't properly add it's folders to the module path if `CMAKE_MODULE_PATH` is already
|
||||
|
|
|
@ -191,7 +191,7 @@ namespace Menu {
|
|||
{"z", "Toggle totals reset for current network device"},
|
||||
{"a", "Toggle auto scaling for the network graphs."},
|
||||
{"y", "Toggle synced scaling mode for network graphs."},
|
||||
{"f, /", "To enter a process filter."},
|
||||
{"f, /", "To enter a process filter. Start with ! for regex."},
|
||||
{"delete", "Clear any entered filter."},
|
||||
{"c", "Toggle per-core cpu usage of processes."},
|
||||
{"r", "Reverse sorting order in processes box."},
|
||||
|
|
|
@ -158,9 +158,11 @@ namespace Gpu {
|
|||
|
||||
//? AMD data collection
|
||||
namespace Rsmi {
|
||||
|
||||
//? RSMI defines, structs & typedefs
|
||||
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128
|
||||
|
||||
#if !defined(RSMI_STATIC)
|
||||
//? RSMI defines, structs & typedefs
|
||||
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128
|
||||
#define RSMI_MAX_NUM_FREQUENCIES_V5 32
|
||||
#define RSMI_MAX_NUM_FREQUENCIES_V6 33
|
||||
#define RSMI_STATUS_SUCCESS 0
|
||||
|
|
Loading…
Reference in New Issue