diff options
author | Daniel Lange <DLange@git.local> | 2022-06-01 08:00:55 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2022-06-01 08:00:55 +0200 |
commit | abaec509e6773908720124124ff24ad34f2b1321 (patch) | |
tree | e0f63f6bee219e2b642d7e072ce28ffe9c081626 /Process.h | |
parent | f156dfecd59d415ea860e2b4dff6be58b6ef3c60 (diff) | |
parent | 2999fff88eef0cad39dbbc0054bdf8af9a92215e (diff) |
Merge branch 'cmdline-render-cache-rework' of BenBE/htop
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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_ { |