|
|
|
@ -731,6 +731,14 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void stats_cleanup() {
|
|
|
|
|
#ifdef WANT_SPOT_WOODPECKER
|
|
|
|
|
pthread_mutex_lock( &g_woodpeckers_mutex );
|
|
|
|
|
stats_shift_down_network_count( &stats_woodpeckers_tree, 0, 1 );
|
|
|
|
|
pthread_mutex_unlock( &g_woodpeckers_mutex );
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void * stats_worker( void * args ) {
|
|
|
|
|
int iovec_entries;
|
|
|
|
|
struct iovec *iovector;
|
|
|
|
@ -761,4 +769,4 @@ void stats_deinit( ) {
|
|
|
|
|
pthread_cancel( thread_id );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.71 $\n";
|
|
|
|
|
const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.72 $\n";
|
|
|
|
|