summaryrefslogtreecommitdiffstats
path: root/zfs/ZfsArcMeter.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* platform-dependent files included relative to main source directorymayurdahibhate2021-05-101-1/+1
|
* cleaned up includes with iwyumayurdahibhate2021-05-101-0/+1
|
* Hold only a const version of the ProcessList in MetersChristian Göttsche2020-10-261-1/+1
|
* Mark remaining classes constChristian Göttsche2020-10-131-3/+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-2/+0
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Remove superfluous 'extern's from function declarations.Zev Weiss2020-09-031-1/+1
| | | | | | | | Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
* Update header files to match whitespace changes in source filesNathan Scott2020-08-221-1/+1
|
* Refactor openzfs_sysctl_init() and ZfsArcMeter...Ross Williams2019-09-031-0/+4
| | | | | | | | | | | openzfs_sysctl_init() now returns void instead of int. The ZfsArcStats->enabled flag is set inside the init function now, instead of having to be set from its return value. Preparation for more flag setting in Compressed ARC commit. ZfsArcMeter_readStats() added and all Meter->values[] setting moved to it, eliminating duplicated code in {darwin,freebsd,linux,solaris}/Platform.c.
* Support ZFS ARC stats on FreeBSDRoss Williams2019-07-071-0/+18
New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.

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