summaryrefslogtreecommitdiffstats
path: root/darwin
Commit message (Collapse)AuthorAgeFilesLines
...
| * Correct timebase for non-x86 CPUs on DarwinBenny Baumann2020-12-133-2/+22
| | | | | | | | Fixes: #368
| * Sort include in Darwin platform headersBenny Baumann2020-12-131-14/+16
| |
* | Add column in darwin to indicate whether the the process is running under ↵Dániel Bakai2020-12-134-13/+61
| | | | | | | | translation
* | Move Process_fields from darwin/Platform to darwin/DarwinProcessDániel Bakai2020-12-134-31/+31
|/
* Cull the definitions of pageSize and pageSizeKB from CRT.cNathan Scott2020-12-101-2/+2
| | | | | | | | | | | | | | | By storing the per-process m_resident and m_virt values in the form htop wants to display them in (KB, not pages), we no longer need to have definitions of pageSize and pageSizeKB in the common CRT code. These variables were never really CRT (i.e. display) related in the first place. It turns out the darwin platform code doesn't need to use these at all (the process values are extracted from the kernel in bytes not pages) and the other platforms can each use their own local pagesize variables, in more appropriate locations. Some platforms were actually already doing this, so this change is removing duplication of logic and variables there.
* Unify naming of first argument of Platform_getBatteryChristian Göttsche2020-11-251-3/+3
| | | | Use percent throughout
* DarwinProcessList: retry getting list of all processes on ENOMEMChristian Göttsche2020-11-231-17/+15
| | | | | | | | | | | The process count might change between the two sysctl() calls getting the size and getting the data. Retry (3 times) in case the data-retrieval sysctl() call fails with ENOMEM. see http://mirror.informatimago.com/next/developer.apple.com/qa/qa2001/qa1123.html Related: #118
* Merge branch 'cleanup-init-done' into masterNathan Scott2020-11-232-6/+18
|\
| * Minor cleanups to platform-specific init and doneNathan Scott2020-11-192-6/+18
| | | | | | | | | | | | | | 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.
* | Rename virtual memory column from M_SIZE to M_VIRTChristian Göttsche2020-11-212-4/+4
|/ | | | Closes: #325
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-184-81/+70
| | | | | Consistent with everything else involving platform-specific calls from core htop code.
* DarwinProcessList: mark local functions static and sort includesChristian Göttsche2020-11-172-39/+22
|
* DarwinProcess: mark local function static and sort includesChristian Göttsche2020-11-172-12/+10
|
* 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.
* Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBEDaniel Lange2020-11-157-163/+178
|\
| * Embracing branchesBenny Baumann2020-11-021-3/+6
| |
| * Spacing around operatorsBenny Baumann2020-11-026-38/+38
| |
| * Whitespace and indentation issuesBenny Baumann2020-11-024-107/+119
| |
| * Spacing after keywords (for)Benny Baumann2020-11-023-5/+5
| |
| * Spacing after keywords (if)Benny Baumann2020-11-024-14/+14
| |
| * Spacing after keywords (while)Benny Baumann2020-11-021-2/+2
| |
* | Split platform dependent parts for file locks screenBenny Baumann2020-11-142-3/+24
|/
* FreeBSD: implement Platform_getDiskIO()Christian Goettsche2020-10-292-7/+4
|
* Drop always true conditionChristian Göttsche2020-10-271-40/+38
|
* Hold only a const version of Settings in ProcessChristian Göttsche2020-10-263-4/+4
|
* Hold only a const version of the ProcessList in MetersChristian Göttsche2020-10-261-9/+9
|
* 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-201-3/+3
|
* Merge branch 'header_pause' of cgzones/htopDaniel Lange2020-10-202-2/+6
|\ | | | | | | Continue to update generic data in paused mode
| * Continue to update generic data in paused modeChristian Göttsche2020-10-192-2/+6
| | | | | | | | | | | | | | | | | | 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-2/+4
|/ | | | | | 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-163-17/+6
|
* Mark remaining classes constChristian Göttsche2020-10-132-2/+2
|
* Centralise fault handlingBenny Baumann2020-10-122-49/+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-2/+2
|
* 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-1/+1
|
* 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/+3
|
* Update CPU freq display to use NAN on errorBenny Baumann2020-09-241-1/+2
|
* Update battery API to use NAN on errorBenny Baumann2020-09-241-1/+3
|
* Fail travis CI on compiler warningsChristian Göttsche2020-09-182-3/+2
|
* Mark noreturn functionsChristian Göttsche2020-09-182-1/+4
|

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