Lines Matching refs:stats

2  * daemon/stats.h - collect runtime performance indicators.
57 /** number of rcodes in stats */
59 /** number of opcodes in stats */
79 /** Extended stats below (bool) */
82 /** qtype stats */
86 /** qclass stats */
143 /** the thread stats */
146 /** mesh stats: current number of states */
148 /** mesh stats: current number of reply (user) states */
150 /** mesh stats: number of reply states overwritten with a new one */
152 /** mesh stats: number of incoming queries dropped */
154 /** mesh stats: replies sent */
156 /** mesh stats: sum of waiting times for the replies */
158 /** mesh stats: median of waiting times for replies (in sec) */
163 * Initialize server stats to 0.
164 * @param stats: what to init (this is alloced by the caller).
167 void server_stats_init(struct server_stats* stats, struct config_file* cfg);
170 void server_stats_querymiss(struct server_stats* stats, struct worker* worker);
173 void server_stats_prefetch(struct server_stats* stats, struct worker* worker);
175 /** display the stats to the log */
176 void server_stats_log(struct server_stats* stats, struct worker* worker,
180 * Obtain the stats info for a given thread. Uses pipe to communicate.
183 * @param s: the stats block to fill in.
184 * @param reset: if stats can be reset.
190 * Compile stats into structure for this thread worker.
192 * @param worker: the worker to compile stats for, also the executing worker.
193 * @param s: stats block.
194 * @param reset: if true, depending on config stats are reset.
201 * Send stats over comm tube in reply to query cmd
203 * @param reset: if true, depending on config stats are reset.
216 * Add stats for this query
217 * @param stats: the stats
224 void server_stats_insquery(struct server_stats* stats, struct comm_point* c,
230 * @param stats: the stats
233 void server_stats_insrcode(struct server_stats* stats, ldns_buffer* buf);