stats.h File Reference

This file describes the data structure used to collect runtime performance numbers. More...


Data Structures

struct  server_stats
 per worker statistics More...

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


Detailed Description

This file describes the data structure used to collect runtime performance numbers.

These 'statistics' may be of interest to the operator.


Function Documentation

void server_stats_init ( struct server_stats stats  ) 

Initialize server stats to 0.

Parameters:
stats,: what to init (this is alloced by the caller).

Referenced by worker_init(), and worker_stat_timer_cb().


Generated on Sun Sep 21 16:24:54 2008 for unbound by  doxygen 1.5.6