summaryrefslogtreecommitdiffstats
path: root/pcp/PCPMachine.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused zswap pool size calculation from commit 71f5a80d9eNathan Scott2023-11-211-3/+0
| | | | | Quick discussion with Ivan confirmed this was a left-over from an earlier version of the zswap code and can be safely removed.
* PCP platform implementation of frontswap and zswap accountingNathan Scott2023-11-201-0/+14
|
* Merge branch 'style-header-consistency' of https://github.com/BenBE/htop ↵Nathan Scott2023-10-101-1/+1
|\ | | | | | | into BenBE-style-header-consistency
| * Make header sort order consistent againBenny Baumann2023-05-241-1/+1
| |
* | Rename ProcessList to ProcessTable throughoutNathan Scott2023-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Rename PCPMetric files, structures and related internal functionsNathan Scott2023-08-301-44/+44
| | | | | | | | | | Simplify names to just Metric in this case as it is not mirroring core htop naming (which is the norm for that naming convention).
* | Support dynamic screens with 'top-most' entities beyond processesSohaib Mohamed2023-08-301-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | This implements our concept of 'dynamic screens' in htop, with a first use-case of pcp-htop displaying things like top-filesystem and top-cgroups under new screen tabs. However the idea is more general than use in pcp-htop and we've paved the way here for us to collectively build mroe general tabular screens in core htop, as well. From the pcp-htop side of things, dynamic screens are configured using text-based configuration files that define the mapping for PCP metrics to columns (and metric instances to rows). Metrics are defined either directly (via metric names) or indirectly via PCP derived metric specifications. Value scaling and the units displayed is automatic based on PCP metric units and data types. This commit represents a collaborative effort of several months, primarily between myself, Nathan and BenBE. Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com> Signed-off-by: Nathan Scott <nathans@redhat.com>
* Adapt platform code for the new Machine base classNathan Scott2023-05-081-0/+332
Move host-centric data to new derived <Platform>Machine classes, separate from process-list-centric data.

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