forked from sysstat/sysstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
json_stats.h
97 lines (92 loc) · 4.05 KB
/
json_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
/*
* json_stats.h: Include file used to display system statistics in JSON format.
* (C) 1999-2019 by Sebastien Godard (sysstat <at> orange.fr)
*/
#ifndef _JSON_STATS_H
#define _JSON_STATS_H
#include "common.h"
/*
***************************************************************************
* Prototypes for functions used to display system statistics in JSON.
***************************************************************************
*/
/* Functions used to display statistics in JSON */
__print_funct_t json_print_cpu_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pcsw_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_irq_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_swap_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_paging_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_io_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_memory_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_ktables_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_queue_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_serial_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_disk_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_dev_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_edev_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_nfs_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_nfsd_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_sock_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_ip_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_eip_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_icmp_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_eicmp_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_tcp_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_etcp_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_udp_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_sock6_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_ip6_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_eip6_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_icmp6_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_eicmp6_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_net_udp6_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pwr_cpufreq_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pwr_fan_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pwr_temp_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pwr_in_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_huge_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pwr_wghfreq_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_pwr_usb_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_filesystem_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_fchost_stats
(struct activity *, int, int, unsigned long long);
__print_funct_t json_print_softnet_stats
(struct activity *, int, int, unsigned long long);
#endif /* _JSON_STATS_H */