diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/view.cc b/src/client/view.cc index aaf8210..660930b 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -21,6 +21,7 @@ #include "render/render.h" #include "render/textures.h" #include "core/core.h" +#include "core/stats.h" #include "math/mathlib.h" #include "sys/sys.h" @@ -153,6 +154,8 @@ void draw_status() stats << "tris " << std::setw(5) << render::Stats::tris << "\n"; stats << "quads " << std::setw(5) << render::Stats::quads << "\n"; } + stats << "tx "<< std::setw(5) << (core::Stats::network_bytes_sent >> 10) << "\n"; + stats << "rx "<< std::setw(5) << (core::Stats::network_bytes_received >> 10) << "\n"; draw_text(video::width-CHARWIDTH*12, CHARHEIGHT*2, stats); } |