summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
AgeCommit message (Collapse)Author
2021-01-11Linux: Add SwapCached to the swap meterDavid Zarzycki
According to the Linux kernel documentation, "SwapCached" tracks "memory that once was swapped out, is swapped back in but still also is in the swapfile (if memory is needed it doesn't need to be swapped out AGAIN because it is already in the swapfile. This saves I/O)."
2021-01-11Mark several non-modified pointer variables constChristian Göttsche
2020-12-02Implement sorting in tree modeMaxim Zhiburt
2020-11-27Drop unused global ProcessList memory fieldsNathan Scott
The global ProcessList structure contains a couple of unused fields. 'sharedMem' has never been used by any Meter, since its not been anything other than zero in Linux /proc/meminfo for many, many years. The freeMem field is only used in the usedMem calculation, so it can reside on the stack like some other memory variables used within-calculations-only and not exposed to the user via a Meter.
2020-11-16Apply patch from BenBE as per ↵Daniel Lange
https://github.com/htop-dev/htop/pull/241#issuecomment-720081138
2020-11-16Merge branch 'hili-new-old' of adsr/htop into highlight-new-old-processesDaniel Lange
2020-11-15Mark ProcessList_keyAt argument constChristian Göttsche
2020-10-30Highlight new and old processes (#74)Adam Saponara
2020-10-28Unify function argument namesChristian Göttsche
Name first argument of ProcessList_goThroughEntries consistently super Name first argument of ProcessList_new consistently userTable
2020-10-26Hold only a const version of Settings in ProcessListChristian Göttsche
2020-10-19Continue to update generic data in paused modeChristian Göttsche
Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-07Mark Object classes and Object class fields constChristian Göttsche
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-09-29Sort headers/includesBenny Baumann
2020-09-09Switch variable/field naming from WhiteList to MatchListNathan Scott
2020-09-03Remove superfluous 'extern's from function declarations.Zev Weiss
Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
2020-09-03Axe automated header generation.Zev Weiss
Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
2020-08-18Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott
Sync-up missing extern declarations for many functions.
2016-02-14Portable affinity using hwlocHisham
2015-04-09Fixes to use platform-specific compare routines.Hisham Muhammad
2015-04-02Merge branch 'master' into wipHisham Muhammad
Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
2015-03-16Major advances in FreeBSD port.Hisham Muhammad
2015-03-16Get FreeBSD tree to compile again with latest changes.Hisham Muhammad
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-11-27Add ProcessList_delete to the variable interface.Hisham Muhammad
2014-11-24Changes for supporting separate platform subdirectories.Hisham Muhammad
2014-11-19Refactored key handlers.Hisham Muhammad
Made the logic more modular, hopefully easier to follow, and removed repeated code. Plus, some optimization in RichString code.
2014-02-27alignment improvementsHisham Muhammad
2014-01-29Added additional column to monitor OOM killer score of each processLeigh Simpson
2013-12-18Make CPU meter optionally account guest time in its percentagesHisham Muhammad
2013-05-24Performance improvements due to conditional parsing of IO data depending on ↵Hisham Muhammad
selected fields. On my machine, this gives a ~20% improvement in htop process time use with the default config.
2013-04-29Performance improvementsHisham Muhammad
(thanks to Jann Horn)
2012-12-05Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad
UTF-8 display of big numbers.
2012-11-10search and filter for the strace and lsof screens!Hisham Muhammad
2012-10-20Option to update process names on every refreshHisham Muhammad
(thanks to Rob Hoelz)
2012-08-10Add -p flag, contributed by Rob HoelzHisham Muhammad
2012-02-02BUGFIX: behavior of 'F' (follow) key was broken, also affecting theHisham Muhammad
persistence of mouse selections. Closes #3165065.
2011-12-26major header cleanupHisham Muhammad
2011-12-01Keep panel structure up-to-date as process list changes when headers are ↵Hisham Muhammad
updated during the screen manager. Hopefully closes #3444533.
2011-11-21Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an ↵Hisham Muhammad
external libhwloc. (for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
2011-11-03Support for UTF-8 tree drawingHisham Muhammad
(thanks to Bin Guo)
2011-09-24Convert affinity control from the deprecated PLPA to HWLOCHisham Muhammad
2011-09-08Fix off-by-one error in PROCESSOR displayHisham Muhammad
2011-03-22* Option for counting CPUs from zeroHisham Muhammad
(thanks to Sean Noonan) * Meters update in every screen (no longer halting while on Setup, etc.)
2010-11-23Split process and thread counts in tasks meterHisham Muhammad
2010-11-22Remove arbitrary limit from rich stringsHisham Muhammad
Fix subtree hiding Fix reading of CPU values in hidden threads Fix hiding of zombie processes as kernel threads Remove "debug proc" code Code cleanup in processElements
2010-08-24add support for steal/guest CPU time measurementHisham Muhammad
simplify processor data accounting (add CPUData structure) remove Process_clone trick
2010-02-25warning fixesHisham Muhammad
2010-02-25show custom thread namesHisham Muhammad