fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 24 Feb 2011 09:33:47 +0000 (09:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 24 Feb 2011 09:33:47 +0000 (09:33 +0000)
src/datacache/perf_datacache.c

index 8d5b4540a334671aaadf6a0246c4c5781049ba86..303c226d04ab10c8b26f47ee8bccc1371b820310 100644 (file)
@@ -107,7 +107,7 @@ run (void *cls,
                   "Time to PUT %u items in %s-datacache",
                   ITERATIONS,
                   plugin_name);
-  GAUGER (GNUNET_TIME_absolute_get_duration(start).rel_value, gstr, "ms");
+  GAUGER (gstr, GNUNET_TIME_absolute_get_duration(start).rel_value, "ms");
   start = GNUNET_TIME_absolute_get ();
   memset (&k, 0, sizeof (GNUNET_HashCode));
   for (i = 0; i < ITERATIONS; i++)
@@ -128,7 +128,7 @@ run (void *cls,
                   "Time to try to GET %u items from %s-datacache",
                   ITERATIONS,
                   plugin_name);
-  GAUGER (GNUNET_TIME_absolute_get_duration(start).rel_value, gstr, "ms");
+  GAUGER (gstr, GNUNET_TIME_absolute_get_duration(start).rel_value, "ms");
           
   GNUNET_DATACACHE_destroy (h);
   ASSERT (ok == 0);