]> granicus.if.org Git - sysstat/blob - count.h
Print total number of CPUs in header
[sysstat] / count.h
1 /*
2  * count.h: Include file used to count items for which
3  * statistics will be collected.
4  * (C) 1999-2013 by Sebastien Godard (sysstat <at> orange.fr)
5  */
6
7 #ifndef _COUNT_H
8 #define _COUNT_H
9
10 #include "common.h"
11
12 /*
13  ***************************************************************************
14  * Prototypes for functions used to count number of items.
15  ***************************************************************************
16  */
17
18 extern int
19         get_cpu_nr(unsigned int);
20 extern int
21         get_cpu_total_nr(void);
22 extern int
23         get_irqcpu_nr(char *, int, int);
24 extern int
25         get_diskstats_dev_nr(int, int);
26
27 extern int
28         get_irq_nr(void);
29 extern int
30         get_serial_nr(void);
31 extern int
32         get_iface_nr(void);
33 extern int
34         get_disk_nr(unsigned int);
35 extern int
36         get_freq_nr(void);
37 extern int
38         get_usb_nr(void);
39 extern int
40         get_filesystem_nr(void);
41
42 #endif /* _COUNT_H */