forked from sysstat/sysstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pr_stats.h
120 lines (113 loc) · 5.13 KB
/
pr_stats.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/*
* pr_stats.h: Include file used to display system statistics
* (C) 1999-2014 by Sebastien Godard (sysstat <at> orange.fr)
*/
#ifndef _PR_STATS_H
#define _PR_STATS_H
#include "common.h"
/*
***************************************************************************
* Prototypes for functions used to display system statistics
***************************************************************************
*/
/* Functions used to display instantaneous statistics */
extern __print_funct_t print_cpu_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pcsw_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_irq_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_swap_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_paging_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_io_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_memory_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_ktables_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_queue_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_serial_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_disk_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_dev_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_edev_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_nfs_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_nfsd_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_sock_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_ip_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_eip_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_icmp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_eicmp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_tcp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_etcp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_udp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_sock6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_ip6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_eip6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_icmp6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_eicmp6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_net_udp6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pwr_cpufreq_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pwr_fan_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pwr_temp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pwr_in_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_huge_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pwr_wghfreq_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_pwr_usb_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_filesystem_stats
(struct activity *, int, int, unsigned long long);
/* Functions used to display average statistics */
extern __print_funct_t print_avg_memory_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_ktables_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_queue_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_net_sock_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_net_sock6_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_pwr_cpufreq_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_pwr_fan_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_pwr_temp_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_pwr_in_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_huge_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_pwr_usb_stats
(struct activity *, int, int, unsigned long long);
extern __print_funct_t print_avg_filesystem_stats
(struct activity *, int, int, unsigned long long);
#endif /* _PR_STATS_H */