diff options
author | loderunner <loderunner@63cc0a6c-1f0e-0410-841e-f6a342073da8> | 2013-05-24 22:46:01 +0000 |
---|---|---|
committer | loderunner <loderunner@63cc0a6c-1f0e-0410-841e-f6a342073da8> | 2013-05-24 22:46:01 +0000 |
commit | a3cf0aaedbd03cde3e532efb22f459b2ee5012bf (patch) | |
tree | eef7e35c7002f1e375fdd671380c3f1e8b9b839a /ProcessList.h | |
parent | cb2bca301f5beb50a77756bffe914cc89f4369c3 (diff) | |
download | htop-a3cf0aaedbd03cde3e532efb22f459b2ee5012bf.tar.gz |
Performance improvements due to conditional parsing of IO data depending on selected fields.
On my machine, this gives a ~20% improvement in htop process time use with the default config.
git-svn-id: svn://svn.code.sf.net/p/htop/code/trunk@308 63cc0a6c-1f0e-0410-841e-f6a342073da8
Diffstat (limited to 'ProcessList.h')
-rw-r--r-- | ProcessList.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ProcessList.h b/ProcessList.h index 95d32b7..af202c8 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -113,6 +113,7 @@ typedef struct ProcessList_ { unsigned long long int usedSwap; unsigned long long int freeSwap; + int flags; ProcessField* fields; ProcessField sortKey; int direction; |