summaryrefslogtreecommitdiffstats
path: root/SwapMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename Meter.setValues() functions to updateValues()Explorer092016-05-041-2/+2
| | | | | | | | | | | | Rationale (copied from htop issue #471): The function name "setValues" is misleading. For most OOP (object- oriented programming) contexts, setXXX functions mean they will change some member variables of an object into something specified in function arguments. But in the *Meter_setValues() case, the new values are not from the arguments, but from a hard-coded source. The caller is not supposed to change the values[] to anything it likes, but rather to "update" the values from the source. Hence, updateValues is a better name for this family of functions.
* Explicit "maxItems" property of metersExplorer092016-03-111-0/+1
| | | | | | | | | Two changes in this commit: - All meters now explicitly specify "maxItems" property, even for just 1 item. (Exception is "container" CPU meter classes, which use CUSTOM_METERMODE.) - "maxItems" being 0 is now allowed. This will let bar meters and graph meters render an empty meter.
* use dynamic units for text displayChristian Hesse2015-08-271-14/+3
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* make units more dynamicChristian Hesse2015-08-271-2/+10
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* Changed MemoryMeter and SwapMeter to use short memory sizesTomasz Kramkowski2015-06-091-1/+1
| | | | | The MemoryMeter and SwapMeter now use the short GNU Coreutils style format to represent memory sizes.
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-6/+3
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* change swap to M for consistency. Closes #63.Hisham Muhammad2014-04-241-6/+2
|
* BUGFIX: Fix crash when adding meters and toggling detailed CPU time.Hisham Muhammad2014-01-161-1/+0
| | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details. (thanks to Dawid Gajownik for the detailed analysis!)
* Remove explicit calls to curses.h in other filesHisham Muhammad2013-02-261-1/+0
|
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-3/+7
| | | | UTF-8 display of big numbers.
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-4/+7
|
* Interface improvements for large numbers.Hisham Muhammad2011-09-081-3/+18
|
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* Remove arbitrary limit from rich stringsHisham Muhammad2010-11-221-2/+1
| | | | | | | | | 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
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-14/+14
| | | | | Reduces resulting code size.
* Perform RichString operations by hand.Hisham Muhammad2006-07-121-1/+1
| | | | | Avoid unnecessary operations when processing entries on ProcessList.
* Updates for new version of the MakeHeader.py script.Hisham Muhammad2006-06-061-3/+3
|
* - Overhaul meters implementation;Hisham Muhammad2006-04-101-30/+21
| | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions.
* Initial import.Hisham Muhammad2006-03-041-0/+65

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