gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r13426 - gnunet/src/statistics


From: gnunet
Subject: [GNUnet-SVN] r13426 - gnunet/src/statistics
Date: Wed, 27 Oct 2010 11:54:53 +0200

Author: wachs
Date: 2010-10-27 11:54:53 +0200 (Wed, 27 Oct 2010)
New Revision: 13426

Modified:
   gnunet/src/statistics/gnunet-service-statistics.c
   gnunet/src/statistics/statistics_api.c
Log:
Refactoring gnunet time


Modified: gnunet/src/statistics/gnunet-service-statistics.c
===================================================================
--- gnunet/src/statistics/gnunet-service-statistics.c   2010-10-27 09:53:04 UTC 
(rev 13425)
+++ gnunet/src/statistics/gnunet-service-statistics.c   2010-10-27 09:54:53 UTC 
(rev 13426)
@@ -305,7 +305,7 @@
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Transmitting value for `%s:%s' (%d): %llu\n",
               e->service, e->name,
-             e->persistent, e->value);
+             e->persistent, e->abs_value);
 #endif
   GNUNET_SERVER_notification_context_unicast (nc, client, &m->header, 
GNUNET_NO);
   GNUNET_free (m);
@@ -479,7 +479,7 @@
               "Received request to update statistic on `%s:%s' (%u) to/by 
%llu\n",
               service, name,
              (unsigned int) flags,
-             (unsigned long long) value);
+             (unsigned long long) abs_value);
 #endif
   pos = start;
   prev = NULL;
@@ -522,7 +522,7 @@
 #if DEBUG_STATISTICS
           GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                       "Statistic `%s:%s' updated to value %llu.\n",
-                      service, name, pos->value);
+                      service, name, pos->abs_value);
 #endif
          if (changed) 
            notify_change (pos);
@@ -548,7 +548,7 @@
 #if DEBUG_STATISTICS
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "New statistic on `%s:%s' with value %llu created.\n",
-              service, name, pos->value);
+              service, name, pos->abs_value);
 #endif
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
 }

Modified: gnunet/src/statistics/statistics_api.c
===================================================================
--- gnunet/src/statistics/statistics_api.c      2010-10-27 09:53:04 UTC (rev 
13425)
+++ gnunet/src/statistics/statistics_api.c      2010-10-27 09:54:53 UTC (rev 
13426)
@@ -402,7 +402,7 @@
 #if DEBUG_STATISTICS
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Received valid statistic on `%s:%s': %llu\n",
-              service, name, GNUNET_ntohll (smsg->value));
+              service, name, GNUNET_ntohll (smsg->abs_value));
 #endif
   if (GNUNET_OK !=
       h->current->proc (h->current->cls,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]