|
OpenDNSSEC-signer
1.3.9
|
#include "shared/locks.h"#include <config.h>#include <ctype.h>#include <stdint.h>#include <time.h>#include <ldns/ldns.h>

Go to the source code of this file.
Data Structures | |
| struct | stats_struct |
Typedefs | |
| typedef struct stats_struct | stats_type |
Functions | |
| stats_type * | stats_create (void) |
| void | stats_log (stats_type *stats, const char *name, ldns_rr_type nsec_type) |
| void | stats_clear (stats_type *stats) |
| void | stats_cleanup (stats_type *stats) |
| typedef struct stats_struct stats_type |
| void stats_cleanup | ( | stats_type * | stats | ) |
Clean up statistics.
| [in] | stats | statistics to be deleted |
Clean up statistics.
Definition at line 108 of file stats.c.
References lock_basic_destroy, and stats_struct::stats_lock.
Referenced by zone_cleanup().
| void stats_clear | ( | stats_type * | stats | ) |
Clear statistics.
| [in] | stats | statistics to be cleared |
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, ods_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(), tools_output(), and zone_recover().
| stats_type* stats_create | ( | void | ) |
Initialize statistics.
Signer statistics. Initialize statistics.
Definition at line 42 of file stats.c.
References lock_basic_init, stats_clear(), and stats_struct::stats_lock.
Referenced by zone_create().
| void stats_log | ( | stats_type * | stats, |
| const char * | name, | ||
| ldns_rr_type | nsec_type | ||
| ) |
Log statistics.
| [in] | stats | statistics |
| [in] | name | zone name |
| [in] | nsec_type | NSEC or NSEC3 |
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, ods_log_assert, ods_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_output().
1.8.1.2