Lines Matching full:stats
2 * daemon/stats.h - collect runtime performance indicators.
53 /* stats struct */
57 * Initialize server stats to 0.
58 * @param stats: what to init (this is alloced by the caller).
61 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg);
64 void server_stats_querymiss(struct ub_server_stats* stats, struct worker* worker);
67 void server_stats_prefetch(struct ub_server_stats* stats, struct worker* worker);
69 /** display the stats to the log */
70 void server_stats_log(struct ub_server_stats* stats, struct worker* worker,
74 * Obtain the stats info for a given thread. Uses pipe to communicate.
77 * @param s: the stats block to fill in.
78 * @param reset: if stats can be reset.
84 * Compile stats into structure for this thread worker.
86 * @param worker: the worker to compile stats for, also the executing worker.
87 * @param s: stats block.
88 * @param reset: if true, depending on config stats are reset.
95 * Send stats over comm tube in reply to query cmd
97 * @param reset: if true, depending on config stats are reset.
110 * Add stats for this query
111 * @param stats: the stats
118 void server_stats_insquery(struct ub_server_stats* stats, struct comm_point* c,
124 * @param stats: the stats
127 void server_stats_insrcode(struct ub_server_stats* stats, struct sldns_buffer* buf);
130 * Add DNS Cookie stats for this query
131 * @param stats: the stats
134 void server_stats_downstream_cookie(struct ub_server_stats* stats,