Pol  Revision:4b29d2b
iostats.h
Go to the documentation of this file.
1 
6 #ifndef __IOSTATS_H
7 #define __IOSTATS_H
8 
9 #include <atomic>
10 namespace Pol
11 {
12 namespace Network
13 {
14 class IOStats
15 {
16 public:
17  IOStats();
18 
19  struct Packet
20  {
21  std::atomic<unsigned int> count;
22  std::atomic<unsigned int> bytes;
23  };
24 
25  Packet sent[256];
27 };
28 }
29 }
30 #endif
Packet received[256]
Definition: iostats.h:26
Packet sent[256]
Definition: iostats.h:25
std::atomic< unsigned int > count
Definition: iostats.h:21
std::atomic< unsigned int > bytes
Definition: iostats.h:22
Definition: berror.cpp:12