summaryrefslogtreecommitdiffstats
path: root/solaris
Commit message (Collapse)AuthorAgeFilesLines
* Unify naming of first argument of Platform_getBatteryChristian Göttsche2020-11-252-3/+3
| | | | Use percent throughout
* Merge branch 'cleanup-init-done' into masterNathan Scott2020-11-232-6/+19
|\
| * Minor cleanups to platform-specific init and doneNathan Scott2020-11-192-6/+19
| | | | | | | | | | | | | | Move platform-specific code out of the htop.c main function and into the platform sub-directories - primarily this is the Linux procfs path check and sensors setup/teardown; not needed on any other platforms. No functional changes here.
* | Reduce scope of totaltimeBenny Baumann2020-11-221-5/+6
| |
* | Fix NULL pointer dereference on kstat_lookup failureBenny Baumann2020-11-221-14/+12
| |
* | Rename virtual memory column from M_SIZE to M_VIRTChristian Göttsche2020-11-213-3/+3
|/ | | | Closes: #325
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-184-16/+7
| | | | | Consistent with everything else involving platform-specific calls from core htop code.
* Merge branch 'temperature_v2' of cgzones/htopDaniel Lange2020-11-171-0/+1
|\ | | | | | | | | Closes #111, closes #49 Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)!
| * Show CPU temperature in CPU meterChristian Göttsche2020-11-161-0/+1
| | | | | | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter.
* | Add process column for normalized CPU usageChristian Göttsche2020-11-161-0/+1
|/ | | | Shows the process CPU usage divided by the number of CPU cores
* Introduce spaceship comparison for ProcessesChristian Göttsche2020-11-151-8/+10
| | | | | | | | | | | | | | | If currently two unsigned values are compared via `a - b`, in the case b is actually bigger than a, the result will not be an negative number (as -1 is expected) but a huge positive number as the subtraction is an unsigned subtraction. Avoid over-/underflow affected operations; use comparisons. Modern compilers will generate sane code, like: xor eax, eax cmp rdi, rsi seta al sbb eax, 0 ret
* Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBEDaniel Lange2020-11-154-89/+128
|\
| * Integrate NAN check into assignmentBenny Baumann2020-11-021-4/+1
| | | | | | | | The check for NAN is kept to avoid relying on implementation details of the CLAMP macro/function
| * Embracing branchesBenny Baumann2020-11-022-15/+37
| |
| * Spacing around operatorsBenny Baumann2020-11-024-50/+56
| |
| * Whitespace and indentation issuesBenny Baumann2020-11-022-23/+37
| |
| * Spacing after keywords (if)Benny Baumann2020-11-021-1/+1
| |
* | Split platform dependent parts for file locks screenBenny Baumann2020-11-142-4/+24
|/
* FreeBSD: implement Platform_getDiskIO()Christian Goettsche2020-10-292-7/+4
|
* Unify function argument namesChristian Göttsche2020-10-282-7/+7
| | | | | Name first argument of ProcessList_goThroughEntries consistently super Name first argument of ProcessList_new consistently userTable
* Hold only a const version of Settings in ProcessChristian Göttsche2020-10-263-4/+4
|
* Mark process parameter of Process_writeField consistently constChristian Göttsche2020-10-262-4/+4
|
* Hold only a const version of the ProcessList in MetersChristian Göttsche2020-10-261-6/+6
|
* Improve handling of no data in Disk and Network IO MetersChristian Göttsche2020-10-262-4/+10
|
* Drop tabs in source indentionsChristian Göttsche2020-10-202-4/+4
|
* Merge branch 'header_pause' of cgzones/htopDaniel Lange2020-10-202-2/+7
|\ | | | | | | Continue to update generic data in paused mode
| * Continue to update generic data in paused modeChristian Göttsche2020-10-192-2/+7
| | | | | | | | | | | | | | | | | | 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
* | Cache PAGE_SIZEChristian Göttsche2020-10-191-11/+14
|/ | | | | | man:sysconf(3) states: The values obtained from these functions are system configuration constants. They do not change during the lifetime of a process.
* Add NetworkIOMeterChristian Göttsche2020-10-162-0/+16
|
* Refactor generating starttime string into Process classChristian Göttsche2020-10-161-6/+1
|
* Mark remaining classes constChristian Göttsche2020-10-132-2/+2
|
* Centralise fault handlingBenny Baumann2020-10-122-48/+0
| | | | This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
* Mark process argument of Process_isThread constChristian Göttsche2020-10-092-3/+3
|
* Some more locations for ARRAYSIZEBenny Baumann2020-10-081-1/+2
|
* Mark Object instances constChristian Göttsche2020-10-072-2/+2
|
* Mark Object classes and Object class fields constChristian Göttsche2020-10-071-2/+2
|
* Enable -Wcast-qual compiler warningChristian Göttsche2020-10-061-6/+6
|
* Merge branch 'update-license-and-copyright-info'Nathan Scott2020-10-068-8/+8
|\
| * Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-058-8/+8
| |
* | Add a date and datetime meter (#159)Michael F. Schönitzer2020-10-051-0/+4
|/ | | | | | Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier.
* Add DiskIOMeter for IO read/write usageChristian Göttsche2020-10-032-0/+7
|
* CPUMeter: add octuple-column CPU meters.multi2020-09-281-0/+3
| | | | | | | This is a straightforward extension of the existing multi-column CPU meter code, which now allows for up CPU meters to be displayed in up to 16 columns. This also adds the meter declarations to all the platform-specific code.
* Add missing 4-column CPU meters to non-Linux platforms.multi2020-09-281-0/+3
|
* Add -Wmissing-prototypes compiler warningChristian Göttsche2020-09-252-2/+4
|
* Update CPU freq display to use NAN on errorBenny Baumann2020-09-241-1/+1
|
* Update battery API to use NAN on errorBenny Baumann2020-09-241-1/+2
|
* Drop dead code after breakChristian Göttsche2020-09-241-8/+1
|
* htop shows no used memory in Solaris zonesenjan2020-09-211-7/+13
|
* htop crashes on Solaris 11.4 due to missing ZFS ARC kstatssenjan2020-09-211-7/+7
|
* Mark noreturn functionsChristian Göttsche2020-09-182-1/+4
|

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