]> granicus.if.org Git - sysstat/blob - count.h
Merge pull request #346 from Kwstubbs/Kwstubbs/add-codeql-workflow
[sysstat] / count.h
1 /*
2  * count.h: Include file used to count items for which
3  * statistics will be collected.
4  * (C) 1999-2022 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 __nr_t get_cpu_nr
19         (unsigned int, int);
20 __nr_t get_irqcpu_nr
21         (char *, int, int);
22 __nr_t get_diskstats_dev_nr
23         (int, int);
24 __nr_t get_serial_nr
25         (void);
26 __nr_t get_iface_nr
27         (void);
28 __nr_t get_disk_nr
29         (unsigned int);
30 __nr_t get_freq_nr
31         (void);
32 __nr_t get_usb_nr
33         (void);
34 __nr_t get_filesystem_nr
35         (void);
36 __nr_t get_fchost_nr
37         (void);
38
39 #endif /* _COUNT_H */