summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-04-08 12:52:00 +0200
committerChristian Göttsche <cgzones@googlemail.com>2024-04-08 12:52:00 +0200
commit3477fbf2c97cf95b66cf84af0c151c88e900e0dc (patch)
treedd96169fba343476bf3677adafd6b4a77d2898c2 /linux
parent0b0d50c50ebf4ea120440d2eb7d91dda11628898 (diff)
Linux: fix title alignments of GPU columns
Percentage column was always broken, time column needs to be adjusted after recent formatting changes.
Diffstat (limited to 'linux')
-rw-r--r--linux/LinuxProcess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c
index 61fb10e9..f809cc60 100644
--- a/linux/LinuxProcess.c
+++ b/linux/LinuxProcess.c
@@ -110,8 +110,8 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
#ifdef SCHEDULER_SUPPORT
[SCHEDULERPOLICY] = { .name = "SCHEDULERPOLICY", .title = "SCHED ", .description = "Current scheduling policy of the process", .flags = PROCESS_FLAG_SCHEDPOL, },
#endif
- [GPU_TIME] = { .name = "GPU_TIME", .title = " GPU_TIME", .description = "Total GPU time", .flags = PROCESS_FLAG_LINUX_GPU, .defaultSortDesc = true, .autoWidth = true, .autoTitleRightAlign = true, },
- [GPU_PERCENT] = { .name = "GPU_PERCENT", .title = "GPU% ", .description = "Percentage of the GPU time the process used in the last sampling", .flags = PROCESS_FLAG_LINUX_GPU, .defaultSortDesc = true, },
+ [GPU_TIME] = { .name = "GPU_TIME", .title = "GPU_TIME ", .description = "Total GPU time", .flags = PROCESS_FLAG_LINUX_GPU, .defaultSortDesc = true, },
+ [GPU_PERCENT] = { .name = "GPU_PERCENT", .title = " GPU% ", .description = "Percentage of the GPU time the process used in the last sampling", .flags = PROCESS_FLAG_LINUX_GPU, .defaultSortDesc = true, },
};
Process* LinuxProcess_new(const Machine* host) {

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