summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcess.h
Commit message (Collapse)AuthorAgeFilesLines
* Unhardcode tick-to-ms conversionAlexander Momchilov2020-12-191-1/+1
| | | | | | | | | Division by 100000.0 worked because `sysconf(_SC_CLK_TCK)` happened to be 100. By unhardcoding: 1) It becomes more clear what this 100000.0 figure comes from. 2) It protects against bugs in the case `sysconf(_SC_CLK_TCK)` ever changes.
* Merge Process_pidColumns into Process_fields and rework auto-fit for ↵Christian Göttsche2020-12-191-1/+1
| | | | PID-like columns
* Rework enum ProcessFieldChristian Göttsche2020-12-191-6/+1
| | | | | | 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
* Add column in darwin to indicate whether the the process is running under ↵Dániel Bakai2020-12-131-0/+6
| | | | translation
* Move Process_fields from darwin/Platform to darwin/DarwinProcessDániel Bakai2020-12-131-0/+2
|
* DarwinProcess: mark local function static and sort includesChristian Göttsche2020-11-171-5/+4
|
* Spacing around operatorsBenny Baumann2020-11-021-4/+4
|
* Hold only a const version of Settings in ProcessChristian Göttsche2020-10-261-1/+1
|
* Refactor generating starttime string into Process classChristian Göttsche2020-10-161-3/+1
|
* Mark remaining classes constChristian Göttsche2020-10-131-1/+1
|
* Mark process argument of Process_isThread constChristian Göttsche2020-10-091-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-1/+0
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Axe automated header generation.Zev Weiss2020-09-031-2/+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.
* Update header.Hisham2016-03-311-0/+1
|
* Run through all command line arguments on Darwin.Hisham Muhammad2016-02-181-1/+6
| | | | | Also fixes the basename offset for highlighting the basename. Closes #379.
* Scan threads for process state information.Hisham Muhammad2016-02-181-0/+2
| | | | | | Based on: http://stackoverflow.com/questions/6788274/ios-mac-cpu-usage-for-thread and https://github.com/max-horvath/htop-osx/blob/e86692e869e30b0bc7264b3675d2a4014866ef46/ProcessList.c This should be a fix for #361.
* CPU per process implementedDavid Hunt2015-08-191-5/+12
|
* Fix the thread countsDavid Hunt2015-08-191-1/+3
|
* Start supporting actual dataDavid Hunt2015-08-191-3/+13
|
* Added darwin with working battery meterDavid Hunt2015-08-191-0/+22

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