Compare commits

...

7 Commits

Author SHA1 Message Date
toriacx 3bac54275c
Merge eaabc6479b into dd4ada7023 2024-05-10 10:36:55 -05:00
aristocratos dd4ada7023 Fixed missing definition for ROCm static build 2024-05-01 20:43:46 +02:00
aristocratos b48bf6ae45 Add info text about regex filtering in help menu 2024-04-30 18:03:06 +02:00
John Doe eaabc6479b Amend last commit title and description 2023-12-14 20:19:32 +02:00
toriacx f2a1679f6d Replaced incorrect grammar corrections and changed another vocabulary change
Replaced:
an excellent (my own mistake) -> a very good (original)

Changed (vocabulary):
a mail -> an email
2023-12-14 20:09:11 +02:00
toriacx 2cf5ef15f4
Remove incorrect grammar corrections and add another vocabulary change 2023-12-14 19:52:17 +02:00
toriacx 3e6a888c19
Grammar updates of CONTRIBUTING.md
Fixed some grammatical errors... Not too much to explain
2023-12-14 19:11:01 +02:00
3 changed files with 10 additions and 8 deletions

View File

@ -8,9 +8,9 @@
* Split up multiple unrelated changes in multiple pull requests.
* If it's a fix for a unreported bug, make a bug report and link the pull request.
* If it's a fix for an unreported bug, make a bug report and link the pull request.
* Purely cosmetic changes won't be accepted without a very good explanation of its value.
* Pure cosmetic changes won't be accepted without a very good explanation of its value.
## Formatting
@ -26,7 +26,7 @@
## General guidelines
* Don't force a programming style. Use object oriented, functional, data oriented, etc., where it's suitable.
* Don't force a programming style. Use object-oriented, functional, data-oriented, etc., where it's suitable.
* Use [RAII](https://en.cppreference.com/w/cpp/language/raii).
@ -38,7 +38,7 @@
* Use descriptive names for variables.
* Use comments if not very obvious what your code is doing.
* Use comments if it is not very obvious what your code is doing.
* Add comments as labels for what's currently happening in bigger sections of code for better readability.
@ -48,6 +48,6 @@
* Benchmark your code and look for alternatives if they cause a noticeable negative impact.
For questions open a new discussion thread or send a mail to jakob@qvantnet.com
For questions open a new discussion thread or send an email to jakob@qvantnet.com
For proposing changes to this document create a [new issue](https://github.com/aristocratos/btop/issues/new/choose).

View File

@ -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."},

View File

@ -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