Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

chirp_stats.h

00001 #ifndef CHIRP_STATS_H
00002 #define CHIRP_STATS_H
00003 
00004 #include "int_sizes.h"
00005 #include "link.h"
00006 
00007 struct chirp_stats {
00008         char     addr[LINK_ADDRESS_MAX];
00009         UINT32_T active_clients;
00010         UINT32_T total_connections;
00011         UINT32_T total_ops;
00012         UINT32_T pad;
00013         UINT64_T bytes_read;
00014         UINT64_T bytes_written;
00015 };
00016 
00017 
00018 void                 chirp_stats_init();
00019 struct chirp_stats * chirp_stats_global();
00020 struct chirp_stats * chirp_stats_local_begin( const char *address );
00021 void                 chirp_stats_local_end( struct chirp_stats *s );
00022 void                 chirp_stats_cleanup();
00023 void                 chirp_stats_summary( char *buf, int length );
00024 void                 chirp_stats_sync();
00025 
00026 #endif

Generated on Fri Jun 5 11:10:53 2009 for cctools by  doxygen 1.3.9.1