forked from sysstat/sysstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
count.h
39 lines (34 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
/*
* count.h: Include file used to count items for which
* statistics will be collected.
* (C) 1999-2014 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.
***************************************************************************
*/
extern int
get_cpu_nr(unsigned int, int);
extern int
get_irqcpu_nr(char *, int, int);
extern int
get_diskstats_dev_nr(int, int);
extern int
get_irq_nr(void);
extern int
get_serial_nr(void);
extern int
get_iface_nr(void);
extern int
get_disk_nr(unsigned int);
extern int
get_freq_nr(void);
extern int
get_usb_nr(void);
extern int
get_filesystem_nr(void);
#endif /* _COUNT_H */