blob: ce3c3490e95c30e179a4e26a851e80bd9430cb0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef NETDATA_GLOBAL_STATISTICS_H
#define NETDATA_GLOBAL_STATISTICS_H 1
// ----------------------------------------------------------------------------
// global statistics
struct global_statistics {
unsigned long long connected_clients;
unsigned long long web_requests;
unsigned long long bytes_received;
unsigned long long bytes_sent;
};
extern struct global_statistics global_statistics;
extern void global_statistics_lock(void);
extern void global_statistics_unlock(void);
#endif /* NETDATA_GLOBAL_STATISTICS_H */
|