summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-06-01 08:00:55 +0200
committerDaniel Lange <DLange@git.local>2022-06-01 08:00:55 +0200
commitabaec509e6773908720124124ff24ad34f2b1321 (patch)
treee0f63f6bee219e2b642d7e072ce28ffe9c081626 /Process.h
parentf156dfecd59d415ea860e2b4dff6be58b6ef3c60 (diff)
parent2999fff88eef0cad39dbbc0054bdf8af9a92215e (diff)
Merge branch 'cmdline-render-cache-rework' of BenBE/htop
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Process.h b/Process.h
index a2fa5569..a1ca50fb 100644
--- a/Process.h
+++ b/Process.h
@@ -96,17 +96,10 @@ typedef struct ProcessCmdlineHighlight_ {
* Process_writeCommand to color the string. str will be NULL for kernel
* threads and zombies */
typedef struct ProcessMergedCommand_ {
+ uint64_t lastUpdate; /* Marker based on settings->lastUpdate to track when the rendering needs refreshing */
char* str; /* merged Command string */
size_t highlightCount; /* how many portions of cmdline to highlight */
ProcessCmdlineHighlight highlights[8]; /* which portions of cmdline to highlight */
- bool cmdlineChanged : 1; /* whether cmdline changed */
- bool exeChanged : 1; /* whether exe changed */
- bool commChanged : 1; /* whether comm changed */
- bool prevMergeSet : 1; /* whether showMergedCommand was set */
- bool prevPathSet : 1; /* whether showProgramPath was set */
- bool prevCommSet : 1; /* whether findCommInCmdline was set */
- bool prevCmdlineSet : 1; /* whether stripExeFromCmdline was set */
- bool prevShowThreadNames : 1; /* whether showThreadNames was set */
} ProcessMergedCommand;
typedef struct Process_ {

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