summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/DragonFlyBSDMachine.c
Commit message (Collapse)AuthorAgeFilesLines
* DragonFlyBSD: build fixesChristian Göttsche2024-01-201-3/+11
|
* Rename ProcessList to ProcessTable throughoutNathan Scott2023-08-311-4/+4
| | | | | | | | | | | | Following up with some discusson from a few months back, where it was proposed that ProcessTable is a better name. This data structure is definitely not a list ... if it was one-dimensional it'd be a set, but in practice it has much more in common with a two-dimensional table. The Process table is a familiar operating system concept for many people too so it resonates a little in that way as well.
* BSD platforms: Reject negative and zero KERN_FSCALE factorsExplorer092023-08-301-1/+1
| | | | | | | | | | | | | | The "fscale" value, retrieved by sysctl() in BSD platforms, is used for computing CPU percentages of the processes. To prevent a division by zero, we should reject a zero "fscale" value. (A negative "fscale" value will not make sense either.) For DragonFlyBSD and FreeBSD, this would fall back to the hard-coded default scale. For NetBSD and OpenBSD, there is no hard-coded default value, so the zero or negative "fscale" is now a fatal error. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* DragonFlyBSD build fix (this->kernelFScale)Explorer092023-08-301-3/+3
|
* Build fixes for DragonFlyBSDBenny Baumann2023-05-091-3/+3
|
* Adapt platform code for the new Machine base classNathan Scott2023-05-081-0/+341
Move host-centric data to new derived <Platform>Machine classes, separate from process-list-centric data.

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