ping: Code refactoring
Change-Id: I8b4e2c9dd3ba3adfae8d296a5635b048b35cf593
Refs: #3137
diff --git a/tools/ping/client/statistics-collector.hpp b/tools/ping/client/statistics-collector.hpp
index 76278db..2ced820 100644
--- a/tools/ping/client/statistics-collector.hpp
+++ b/tools/ping/client/statistics-collector.hpp
@@ -52,7 +52,7 @@
};
/**
- * @brief collects statistics from ping client
+ * @brief Statistics collector from ping client
*/
class StatisticsCollector : noncopyable
{
@@ -64,21 +64,22 @@
StatisticsCollector(Ping& ping, const Options& options);
/**
- * Returns ping statistics as structure
+ * @brief Compute ping statistics as structure
*/
Statistics
computeStatistics();
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
/**
- * Called on ping response received
+ * @brief Called on ping response received
+ *
* @param rtt round trip time
*/
void
recordResponse(Rtt rtt);
/**
- * Called on ping timeout
+ * @brief Called on ping timeout
*/
void
recordTimeout();