Wireshark-bugs: [Wireshark-bugs] [Bug 4234] stats_tree --> support floating point counts

Date: Sat, 3 Apr 2010 13:17:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4234

--- Comment #4 from sangaran <s.sampanthan@xxxxxxxxx> 2010-04-03 13:17:06 PDT ---
Changing the stats_tree module to use a gfloat instead of a gint counter has
been very useful in our lab:

(1) For large counts on a given node, the floating point arithmetic would
automatically accommodate the size (at the cost of precision).  EX: One could
write a stats_tree plugin that counts the volume of UDP vs. TCP traffic in
bytes as opposed to packets -- this is a count that can get very large very
fast.

(2) For proprietary protocols that have TLV's with floating point values, the
stats_tree module can be used display statistics on these values.  EX:
Displaying the average power and timing adjustments in WiMAX RNG-RSP packets
per CID.

This change is lite and probably seamless for other WireShark users and plugin
developers.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.