]> granicus.if.org Git - sysstat/blob - json_stats.h
A_IRQ: sar: Display 0.00 when number of interrupts decreases
[sysstat] / json_stats.h
1 /*
2  * json_stats.h: Include file used to display system statistics in JSON format.
3  * (C) 1999-2021 by Sebastien Godard (sysstat <at> orange.fr)
4  */
5
6 #ifndef _JSON_STATS_H
7 #define _JSON_STATS_H
8
9 #include "common.h"
10
11 /*
12  ***************************************************************************
13  * Prototypes for functions used to display system statistics in JSON.
14  ***************************************************************************
15  */
16
17 /* Functions used to display statistics in JSON */
18 __print_funct_t json_print_cpu_stats
19         (struct activity *, int, int, unsigned long long);
20 __print_funct_t json_print_pcsw_stats
21         (struct activity *, int, int, unsigned long long);
22 __print_funct_t json_print_irq_stats
23         (struct activity *, int, int, unsigned long long);
24 __print_funct_t json_print_swap_stats
25         (struct activity *, int, int, unsigned long long);
26 __print_funct_t json_print_paging_stats
27         (struct activity *, int, int, unsigned long long);
28 __print_funct_t json_print_io_stats
29         (struct activity *, int, int, unsigned long long);
30 __print_funct_t json_print_memory_stats
31         (struct activity *, int, int, unsigned long long);
32 __print_funct_t json_print_ktables_stats
33         (struct activity *, int, int, unsigned long long);
34 __print_funct_t json_print_queue_stats
35         (struct activity *, int, int, unsigned long long);
36 __print_funct_t json_print_serial_stats
37         (struct activity *, int, int, unsigned long long);
38 __print_funct_t json_print_disk_stats
39         (struct activity *, int, int, unsigned long long);
40 __print_funct_t json_print_net_dev_stats
41         (struct activity *, int, int, unsigned long long);
42 __print_funct_t json_print_net_edev_stats
43         (struct activity *, int, int, unsigned long long);
44 __print_funct_t json_print_net_nfs_stats
45         (struct activity *, int, int, unsigned long long);
46 __print_funct_t json_print_net_nfsd_stats
47         (struct activity *, int, int, unsigned long long);
48 __print_funct_t json_print_net_sock_stats
49         (struct activity *, int, int, unsigned long long);
50 __print_funct_t json_print_net_ip_stats
51         (struct activity *, int, int, unsigned long long);
52 __print_funct_t json_print_net_eip_stats
53         (struct activity *, int, int, unsigned long long);
54 __print_funct_t json_print_net_icmp_stats
55         (struct activity *, int, int, unsigned long long);
56 __print_funct_t json_print_net_eicmp_stats
57         (struct activity *, int, int, unsigned long long);
58 __print_funct_t json_print_net_tcp_stats
59         (struct activity *, int, int, unsigned long long);
60 __print_funct_t json_print_net_etcp_stats
61         (struct activity *, int, int, unsigned long long);
62 __print_funct_t json_print_net_udp_stats
63         (struct activity *, int, int, unsigned long long);
64 __print_funct_t json_print_net_sock6_stats
65         (struct activity *, int, int, unsigned long long);
66 __print_funct_t json_print_net_ip6_stats
67         (struct activity *, int, int, unsigned long long);
68 __print_funct_t json_print_net_eip6_stats
69         (struct activity *, int, int, unsigned long long);
70 __print_funct_t json_print_net_icmp6_stats
71         (struct activity *, int, int, unsigned long long);
72 __print_funct_t json_print_net_eicmp6_stats
73         (struct activity *, int, int, unsigned long long);
74 __print_funct_t json_print_net_udp6_stats
75         (struct activity *, int, int, unsigned long long);
76 __print_funct_t json_print_pwr_cpufreq_stats
77         (struct activity *, int, int, unsigned long long);
78 __print_funct_t json_print_pwr_fan_stats
79         (struct activity *, int, int, unsigned long long);
80 __print_funct_t json_print_pwr_temp_stats
81         (struct activity *, int, int, unsigned long long);
82 __print_funct_t json_print_pwr_in_stats
83         (struct activity *, int, int, unsigned long long);
84 __print_funct_t json_print_huge_stats
85         (struct activity *, int, int, unsigned long long);
86 __print_funct_t json_print_pwr_wghfreq_stats
87         (struct activity *, int, int, unsigned long long);
88 __print_funct_t json_print_pwr_usb_stats
89         (struct activity *, int, int, unsigned long long);
90 __print_funct_t json_print_filesystem_stats
91         (struct activity *, int, int, unsigned long long);
92 __print_funct_t json_print_fchost_stats
93         (struct activity *, int, int, unsigned long long);
94 __print_funct_t json_print_softnet_stats
95         (struct activity *, int, int, unsigned long long);
96 __print_funct_t json_print_psicpu_stats
97         (struct activity *, int, int, unsigned long long);
98 __print_funct_t json_print_psiio_stats
99         (struct activity *, int, int, unsigned long long);
100 __print_funct_t json_print_psimem_stats
101         (struct activity *, int, int, unsigned long long);
102
103 #endif /* _JSON_STATS_H */