forked from sysstat/sysstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
count.h
41 lines (36 loc) · 822 Bytes
/
count.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
/*
* count.h: Include file used to count items for which
* statistics will be collected.
* (C) 1999-2019 by Sebastien Godard (sysstat <at> orange.fr)
*/
#ifndef _COUNT_H
#define _COUNT_H
#include "common.h"
/*
***************************************************************************
* Prototypes for functions used to count number of items.
***************************************************************************
*/
__nr_t get_cpu_nr
(unsigned int, int);
__nr_t get_irqcpu_nr
(char *, int, int);
__nr_t get_diskstats_dev_nr
(int, int);
__nr_t get_irq_nr
(void);
__nr_t get_serial_nr
(void);
__nr_t get_iface_nr
(void);
__nr_t get_disk_nr
(unsigned int);
__nr_t get_freq_nr
(void);
__nr_t get_usb_nr
(void);
__nr_t get_filesystem_nr
(void);
__nr_t get_fchost_nr
(void);
#endif /* _COUNT_H */