static unsigned *results_for_peer;
+/**
+ * The profiler will write statistics
+ * for all peers to the file with this name.
+ */
static char *statistics_filename;
+/**
+ * The profiler will write statistics
+ * for all peers to this file.
+ */
static FILE *statistics_file;
static int verbose;
* @param subsystem name of subsystem that created the statistic
* @param name the name of the datum
* @param value the current value
- * @param is_persistent GNUNET_YES if the value is persistent, GNUNET_NO if not
- * @return GNUNET_OK to continue, GNUNET_SYSERR to abort iteration
+ * @param is_persistent #GNUNET_YES if the value is persistent, #GNUNET_NO if not
+ * @return #GNUNET_OK to continue, #GNUNET_SYSERR to abort iteration
*/
static int
statistics_cb (void *cls,
static void
-destroy (void *cls, const struct GNUNET_SCHEDULER_TaskContext *ctx)
+destroy (void *cls)
{
struct GNUNET_CONSENSUS_Handle *consensus = cls;
options, &run, NULL, GNUNET_YES);
return 0;
}
-