summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/Platform.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark Platform_defaultFields constChristian Göttsche2020-12-191-1/+1
|
* Rework enum ProcessFieldChristian Göttsche2020-12-191-2/+0
| | | | | | Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array
* Unify naming of first argument of Platform_getBatteryChristian Göttsche2020-11-251-3/+3
| | | | Use percent throughout
* Merge branch 'cleanup-init-done' into masterNathan Scott2020-11-231-4/+13
|\
| * Minor cleanups to platform-specific init and doneNathan Scott2020-11-191-4/+13
| | | | | | | | | | | | | | 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-211-1/+1
|/ | | | Closes: #325
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-181-0/+16
| | | | | Consistent with everything else involving platform-specific calls from core htop code.
* 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-151-11/+10
|\
| * 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-021-1/+3
| |
| * Spacing around operatorsBenny Baumann2020-11-021-6/+6
| |
| * Whitespace and indentation issuesBenny Baumann2020-11-021-3/+3
| |
* | Split platform dependent parts for file locks screenBenny Baumann2020-11-141-0/+11
|/
* FreeBSD: implement Platform_getDiskIO()Christian Goettsche2020-10-291-4/+2
|
* Hold only a const version of the ProcessList in MetersChristian Göttsche2020-10-261-4/+4
|
* Improve handling of no data in Disk and Network IO MetersChristian Göttsche2020-10-261-2/+6
|
* Drop unused Platform functions Platform_setTasksValuesChristian Göttsche2020-10-221-5/+0
|
* Drop tabs in source indentionsChristian Göttsche2020-10-201-2/+2
|
* Add NetworkIOMeterChristian Göttsche2020-10-161-0/+11
|
* Some more locations for ARRAYSIZEBenny Baumann2020-10-081-1/+2
|
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Mark Object classes and Object class fields constChristian Göttsche2020-10-071-2/+2
|
* Merge branch 'update-license-and-copyright-info'Nathan Scott2020-10-061-1/+1
|\
| * Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
| |
* | 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-031-0/+5
|
* 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
|
* Update CPU freq display to use NAN on errorBenny Baumann2020-09-241-1/+1
|
* Consolidate repeated macro definitions into one headerNathan Scott2020-09-091-4/+0
| | | | | | | | The MIN, MAX, CLAMP, MINIMUM, and MAXIMUM macros appear throughout the codebase with many re-definitions. Make a single copy of each in a common header file, and use the BSD variants of MINIMUM/MAXIMUM due to conflicts in the system <sys/param.h> headers.
* Axe automated header generation.Zev Weiss2020-09-031-8/+0
| | | | | | | | | | | | | | 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.
* Show N/A on unsupported platforms instead of 0KHzArnavion2019-08-101-0/+3
|
* DragonFlyBSD PID_MAX is 999999.Explorer092017-07-071-1/+1
| | | | | | See DragonFlyBSD source "sys/sys/proc.h". Fixes #646
* Initial addition of dragonflybsd (based on FreeBSD)Diederik de Groot2017-04-191-0/+210

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