#include "config.h"
#include "daemon/stats.h"
#include "daemon/worker.h"
#include "services/mesh.h"
Functions | |
void | server_stats_init (struct server_stats *stats) |
Initialize server stats to 0. | |
void | server_stats_querymiss (struct server_stats *stats, struct worker *worker) |
add query if it missed the cache | |
void | server_stats_log (struct server_stats *stats, int threadnum) |
display the stats to the log |
These 'statistics' may be of interest to the operator.
void server_stats_init | ( | struct server_stats * | stats | ) |
Initialize server stats to 0.
stats,: | what to init (this is alloced by the caller). |
Referenced by worker_init(), and worker_stat_timer_cb().