~ubuntu-branches/ubuntu/saucy/sysstat/saucy-proposed

« back to all changes in this revision

Viewing changes to json_stats.h

  • Committer: Package Import Robot
  • Author(s): Robert Luberda
  • Date: 2011-12-03 17:38:42 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20111203173842-9hrhekn3639twx4p
Tags: 10.0.3-1
* New upstream (stable) release.
* Switch to devhelper v9.
* debian/control: Add VCS fields, update source/options.
* debian/rules: remove .pc/.dpkg-source-unapply file in configure target
  to fix broken behaviour of dpkg-buildpackage (see Bug#649521).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * json_stats.h: Include file used to display system statistics in JSON format.
 
3
 * (C) 1999-2011 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 XML */
 
18
extern __print_funct_t json_print_cpu_stats
 
19
        (struct activity *, int, int, unsigned long long);
 
20
extern __print_funct_t json_print_pcsw_stats
 
21
        (struct activity *, int, int, unsigned long long);
 
22
extern __print_funct_t json_print_irq_stats
 
23
        (struct activity *, int, int, unsigned long long);
 
24
extern __print_funct_t json_print_swap_stats
 
25
        (struct activity *, int, int, unsigned long long);
 
26
extern __print_funct_t json_print_paging_stats
 
27
        (struct activity *, int, int, unsigned long long);
 
28
extern __print_funct_t json_print_io_stats
 
29
        (struct activity *, int, int, unsigned long long);
 
30
extern __print_funct_t json_print_memory_stats
 
31
        (struct activity *, int, int, unsigned long long);
 
32
extern __print_funct_t json_print_ktables_stats
 
33
        (struct activity *, int, int, unsigned long long);
 
34
extern __print_funct_t json_print_queue_stats
 
35
        (struct activity *, int, int, unsigned long long);
 
36
extern __print_funct_t json_print_serial_stats
 
37
        (struct activity *, int, int, unsigned long long);
 
38
extern __print_funct_t json_print_disk_stats
 
39
        (struct activity *, int, int, unsigned long long);
 
40
extern __print_funct_t json_print_net_dev_stats
 
41
        (struct activity *, int, int, unsigned long long);
 
42
extern __print_funct_t json_print_net_edev_stats
 
43
        (struct activity *, int, int, unsigned long long);
 
44
extern __print_funct_t json_print_net_nfs_stats
 
45
        (struct activity *, int, int, unsigned long long);
 
46
extern __print_funct_t json_print_net_nfsd_stats
 
47
        (struct activity *, int, int, unsigned long long);
 
48
extern __print_funct_t json_print_net_sock_stats
 
49
        (struct activity *, int, int, unsigned long long);
 
50
extern __print_funct_t json_print_net_ip_stats
 
51
        (struct activity *, int, int, unsigned long long);
 
52
extern __print_funct_t json_print_net_eip_stats
 
53
        (struct activity *, int, int, unsigned long long);
 
54
extern __print_funct_t json_print_net_icmp_stats
 
55
        (struct activity *, int, int, unsigned long long);
 
56
extern __print_funct_t json_print_net_eicmp_stats
 
57
        (struct activity *, int, int, unsigned long long);
 
58
extern __print_funct_t json_print_net_tcp_stats
 
59
        (struct activity *, int, int, unsigned long long);
 
60
extern __print_funct_t json_print_net_etcp_stats
 
61
        (struct activity *, int, int, unsigned long long);
 
62
extern __print_funct_t json_print_net_udp_stats
 
63
        (struct activity *, int, int, unsigned long long);
 
64
extern __print_funct_t json_print_net_sock6_stats
 
65
        (struct activity *, int, int, unsigned long long);
 
66
extern __print_funct_t json_print_net_ip6_stats
 
67
        (struct activity *, int, int, unsigned long long);
 
68
extern __print_funct_t json_print_net_eip6_stats
 
69
        (struct activity *, int, int, unsigned long long);
 
70
extern __print_funct_t json_print_net_icmp6_stats
 
71
        (struct activity *, int, int, unsigned long long);
 
72
extern __print_funct_t json_print_net_eicmp6_stats
 
73
        (struct activity *, int, int, unsigned long long);
 
74
extern __print_funct_t json_print_net_udp6_stats
 
75
        (struct activity *, int, int, unsigned long long);
 
76
extern __print_funct_t json_print_pwr_cpufreq_stats
 
77
        (struct activity *, int, int, unsigned long long);
 
78
extern __print_funct_t json_print_pwr_fan_stats
 
79
        (struct activity *, int, int, unsigned long long);
 
80
extern __print_funct_t json_print_pwr_temp_stats
 
81
        (struct activity *, int, int, unsigned long long);
 
82
extern __print_funct_t json_print_pwr_in_stats
 
83
        (struct activity *, int, int, unsigned long long);
 
84
extern __print_funct_t json_print_huge_stats
 
85
        (struct activity *, int, int, unsigned long long);
 
86
extern __print_funct_t json_print_pwr_wghfreq_stats
 
87
        (struct activity *, int, int, unsigned long long);
 
88
extern __print_funct_t json_print_pwr_usb_stats
 
89
        (struct activity *, int, int, unsigned long long);
 
90
 
 
91
#endif /* _XML_STATS_H */