Add a debug option to dump statistics counters every ten seconds
[bluesky.git] / bluesky / bluesky.h
index 9921091..5ef2f28 100644 (file)
@@ -54,6 +54,7 @@ struct bluesky_stats {
 struct bluesky_stats *bluesky_stats_new(const char *name);
 void bluesky_stats_add(struct bluesky_stats *stats, int64_t value);
 void bluesky_stats_dump_all();
+void bluesky_stats_run_periodic_dump(FILE *f);
 
 /* BlueSky status and error codes.  Various frontends should translate these to
  * the appropriate error code for whatever protocol they implement. */