Adding more statistics collection (number of transmitted/received bytes
per "pit entry" and per face)
diff --git a/utils/load-stats-face.h b/utils/load-stats-face.h
index 6c85a68..a930181 100644
--- a/utils/load-stats-face.h
+++ b/utils/load-stats-face.h
@@ -49,6 +49,18 @@
inline const LoadStats&
unsatisfied () const;
+
+ inline LoadStats&
+ tx ();
+
+ inline const LoadStats&
+ tx () const;
+
+ inline LoadStats&
+ rx ();
+
+ inline const LoadStats&
+ rx () const;
//
LoadStats::stats_tuple
@@ -67,6 +79,8 @@
LoadStats m_count;
LoadStats m_satisfied;
LoadStats m_unsatisfied;
+ LoadStats m_rx;
+ LoadStats m_tx;
friend std::ostream &
operator << (std::ostream &os, const LoadStatsFace &stats);
@@ -96,6 +110,23 @@
LoadStatsFace::unsatisfied () const
{ return m_unsatisfied; }
+inline LoadStats&
+LoadStatsFace::tx ()
+{ return m_tx; }
+
+inline const LoadStats&
+LoadStatsFace::tx () const
+{ return m_tx; }
+
+inline LoadStats&
+LoadStatsFace::rx ()
+{ return m_rx; }
+
+inline const LoadStats&
+LoadStatsFace::rx () const
+{ return m_rx; }
+
+
std::ostream &
operator << (std::ostream &os, const LoadStatsFace &stats);