commit | dce5a5386e1f29c2671e172e411625858f303cc8 | [log] [tgz] |
---|---|---|
author | Eric Newberry <enewberry@email.arizona.edu> | Wed May 06 10:46:52 2015 -0700 |
committer | Junxiao Shi <sunnylandh@gmail.com> | Thu May 07 10:54:52 2015 -0700 |
tree | 0c8100ae75248e4250c030cbaa2df63da3a9bc20 | |
parent | 6a19af80a21ee4938823f7eea6bc7f4199afd9a6 [diff] [blame] |
ping: print short stats summary on SIGQUIT refs #2782 Change-Id: If0b85dabc7fdee6ea5ab19297122e7f322d55f22
diff --git a/tools/ping/client/statistics-collector.hpp b/tools/ping/client/statistics-collector.hpp index 6e98577..685ff1f 100644 --- a/tools/ping/client/statistics-collector.hpp +++ b/tools/ping/client/statistics-collector.hpp
@@ -46,6 +46,9 @@ double sumRtt; //!< sum of round trip times double avgRtt; //!< average round trip time double stdDevRtt; //!< std dev of round trip time + + std::ostream& + printSummary(std::ostream& os) const; }; /**