Pol  Revision:cb584c9
polstats.h
Go to the documentation of this file.
1 
7 #ifndef POLSTATS_H
8 #define POLSTATS_H
9 
10 #include "../clib/rawtypes.h"
11 #include <atomic>
12 namespace Pol
13 {
14 namespace Core
15 {
16 class PolStats
17 {
18 public:
19  PolStats();
20  std::atomic<u64> bytes_received;
21  std::atomic<u64> bytes_sent;
22 };
23 // extern PolStats auxstats; (Not yet... -- Nando)
24 // extern PolStats webstats;
25 }
26 }
27 #endif
std::atomic< u64 > bytes_sent
Definition: polstats.h:21
std::atomic< u64 > bytes_received
Definition: polstats.h:20
Definition: berror.cpp:12