mail[Wesnoth-commits] r44862 - /trunk/src/ana/api/stats.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on July 29, 2010 - 22:00:
Author: mordante
Date: Thu Jul 29 22:00:32 2010
New Revision: 44862

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44862&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/ana/api/stats.hpp

Modified: trunk/src/ana/api/stats.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ana/api/stats.hpp?rev=44862&r1=44861&r2=44862&view=diff
==============================================================================
--- trunk/src/ana/api/stats.hpp (original)
+++ trunk/src/ana/api/stats.hpp Thu Jul 29 22:00:32 2010
@@ -178,7 +178,15 @@
                 seconds_stats_( time::seconds(1), io_service_ ),
                 minutes_stats_( time::minutes(1), io_service_ ),
                 hours_stats_( time::hours(1), io_service_ ),
-                days_stats_( time::days(1), io_service_ )
+                days_stats_( time::days(1), io_service_ ),
+                               current_packet_in_size_(0),
+                               current_packet_out_size_(0),
+                               current_packet_in_(0),
+                               current_packet_out_(0),
+                               current_packet_in_max_(0),
+                               current_packet_out_max_(0),
+                               current_packet_in_total_(0),
+                               current_packet_out_total_(0)
             {
                 collector_thread_ = new boost::thread( 
boost::bind(&boost::asio::io_service::run,
                                                                    
&io_service_) );




Related Messages


Powered by MHonArc, Updated Thu Jul 29 22:20:17 2010