summaryrefslogtreecommitdiffstats
path: root/Scheduling.c
Commit message (Collapse)AuthorAgeFilesLines
* Linux: update gathering information regarding threadsChristian Göttsche2024-04-061-0/+3
| | | | | | | | | Document for each block gathering information about a task whether the information is shared for the whole process or specific to a single userland thread. Also avoid system calls for process-shared information and reuse the information from the main task.
* Update includes based on IWYUBenny Baumann2023-12-261-2/+2
|
* Fix code styleBenny Baumann2023-12-261-14/+14
|
* Add includes for config.h as per the discussion in PR #1337Daniel Lange2023-12-261-0/+2
| | | | | | Many thanks to @Explorer09 Kang-Che Sung (宋岡哲). Also add a #error stanza to XUtils.h in case somebody forgets the beautiful mess GNU forces on us.
* Introduce Row and Table classes for screens beyond top-processesNathan Scott2023-08-301-3/+9
| | | | | | | | | This commit refactors the Process and ProcessList structures such they each have a new parent - Row and Table, respectively. These new classes handle screen updates relating to anything that could be represented in tabular format, e.g. cgroups, filesystems, etc, without us having to reimplement the display logic repeatedly for each new entity.
* Add support for scheduling policiesChristian Göttsche2023-02-051-0/+154
Add a process column for scheduling policy to show the current scheduling policy of the process. Add a the ability to change the scheduling policy of a process via the key 'Y'. Currently implemented on Linux and FreeBSD only but should be portable, since sched_getscheduler(2) is part of POSIX.1-2001. Closes: #1161

© 2014-2024 Faster IT GmbH | imprint | privacy policy