diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-05 22:42:32 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-05 22:42:32 +0000 |
commit | 8fefc1d995083f0d4a9873f216ccc6e15688d0a9 (patch) | |
tree | 07884b91b2d3729fae93114ec814b3982165894b /src/core/stats.cc | |
parent | c11c0174ece92b4502648ad33653975bfdfc39a0 (diff) |
Core stats
Diffstat (limited to 'src/core/stats.cc')
-rw-r--r-- | src/core/stats.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/stats.cc b/src/core/stats.cc new file mode 100644 index 0000000..0e6a15b --- /dev/null +++ b/src/core/stats.cc @@ -0,0 +1,21 @@ +/* + core/stats.cc + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#include "core/stats.h" + +namespace core { + +unsigned int Stats::network_bytes_sent = 0; +unsigned int Stats::network_bytes_received = 0; + +void Stats::clear() +{ + network_bytes_sent = 0; + network_bytes_received = 0; +}; + +} + |