public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [RFC 0/2] Create counters for measuring behaviour
@ 2012-04-02 12:48 Martin Hundebøll
  2012-04-02 12:48 ` [B.A.T.M.A.N.] [RFC 1/2] batman-adv: Add interface to keep stats Martin Hundebøll
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Martin Hundebøll @ 2012-04-02 12:48 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Martin Hundebøll

Before sending an RFC on my work with network coding/catwoman, I would like some feedback on this stats-feature I build to measure the behaviour of catwoman.

It is basically a set of counters that are incremented on various places in the code as a more detailed alternative to the interface statistics.

Currently, my catwoman branch uses these counters (e.g. to tell how many packets are coded together), but other counters can easily be added. E.g. counters relevant to the BLA, DAT, OGM/ELP code.

If this feature is unneeded/unwanted, I will remove the dependency in catwoman.

Martin Hundebøll (2):
  batman-adv: Add interface to keep stats
  batman-adv: Increment stat counters on rx, tx, fwd

 Makefile               |    2 +
 Makefile.kbuild        |    1 +
 bat_debugfs.c          |   17 +++++++
 bat_stats.c            |  132 ++++++++++++++++++++++++++++++++++++++++++++++++
 bat_stats.h            |   60 ++++++++++++++++++++++
 gen-compat-autoconf.sh |    1 +
 main.c                 |    6 +++
 routing.c              |    2 +
 soft-interface.c       |    3 ++
 types.h                |   20 ++++++++
 10 files changed, 244 insertions(+)
 create mode 100644 bat_stats.c
 create mode 100644 bat_stats.h

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-10 11:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 12:48 [B.A.T.M.A.N.] [RFC 0/2] Create counters for measuring behaviour Martin Hundebøll
2012-04-02 12:48 ` [B.A.T.M.A.N.] [RFC 1/2] batman-adv: Add interface to keep stats Martin Hundebøll
2012-04-04  8:07   ` Marek Lindner
2012-04-10 10:33     ` Martin Hundebøll
2012-04-10 11:05       ` Marek Lindner
2012-04-10 11:17         ` Martin Hundebøll
2012-04-10 11:31           ` Marek Lindner
2012-04-02 12:48 ` [B.A.T.M.A.N.] [RFC 2/2] batman-adv: Increment stat counters on rx, tx, fwd Martin Hundebøll
2012-04-04  8:08 ` [B.A.T.M.A.N.] [RFC 0/2] Create counters for measuring behaviour Marek Lindner
2012-04-10 10:34   ` Martin Hundebøll
2012-04-10 11:08     ` Marek Lindner
2012-04-10 11:18       ` Martin Hundebøll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox