OpenDNSSEC-signer 1.2.1
|
#include "signer/stats.h"
#include "util/log.h"
#include "util/se_malloc.h"
Go to the source code of this file.
Functions | |
stats_type * | stats_create (void) |
void | stats_clear (stats_type *stats) |
void | stats_log (stats_type *stats, const char *name, ldns_rr_type nsec_type) |
void | stats_cleanup (stats_type *stats) |
void stats_cleanup | ( | stats_type * | stats | ) |
Clean up statistics.
Definition at line 107 of file stats.c.
References se_free(), and se_log_warning().
Referenced by zone_cleanup().
void stats_clear | ( | stats_type * | stats | ) |
Clear statistics.
Definition at line 56 of file stats.c.
References stats_struct::audit_time, stats_struct::end_time, stats_struct::nsec_count, stats_struct::nsec_time, se_log_assert, stats_struct::sig_count, stats_struct::sig_reuse, stats_struct::sig_soa_count, stats_struct::sig_time, stats_struct::sort_count, stats_struct::sort_done, stats_struct::sort_time, and stats_struct::start_time.
Referenced by stats_create(), and tools_write_output().
stats_type* stats_create | ( | void | ) |
Signer statistics. Initialize statistics.
Definition at line 43 of file stats.c.
References se_malloc(), and stats_clear().
Referenced by zone_create().
void stats_log | ( | stats_type * | stats, |
const char * | name, | ||
ldns_rr_type | nsec_type | ||
) |
Log statistics.
Definition at line 79 of file stats.c.
References stats_struct::audit_time, stats_struct::end_time, stats_struct::nsec_count, stats_struct::nsec_time, se_log_assert, se_log_info(), stats_struct::sig_count, stats_struct::sig_reuse, stats_struct::sig_time, stats_struct::sort_count, stats_struct::sort_time, and stats_struct::start_time.
Referenced by tools_write_output().