Various code tidyups based on review commentary from BenBE

This commit is contained in:
Nathan Scott
2021-04-14 11:34:47 +10:00
parent b232119e4b
commit 9ce9557e69
5 changed files with 129 additions and 123 deletions

View File

@ -7,17 +7,19 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h"
#include "config.h" // IWYU pragma: keep
#include <stdbool.h>
#include <sys/types.h>
#include "Hashtable.h"
#include "ProcessList.h"
#include "pcp/Platform.h"
#include "UsersTable.h"
#include "pcp/Platform.h"
#include "zfs/ZfsArcStats.h"
typedef enum CPUMetric_ {
CPU_TOTAL_TIME,
CPU_USER_TIME,