2 * Copyright (C) 2006-2009 Brian Aker
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
8 * Summary: Generate a memcached_analysis_st
12 #ifndef __MEMCACHED_ANALYZE_H__
13 #define __MEMCACHED_ANALYZE_H__
20 struct memcached_analysis_st
{
22 uint32_t average_item_size
;
23 uint32_t longest_uptime
;
24 uint32_t least_free_server
;
25 uint32_t most_consumed_server
;
26 uint32_t oldest_server
;
27 double pool_hit_ratio
;
28 uint64_t most_used_bytes
;
29 uint64_t least_remaining_bytes
;
34 memcached_analysis_st
*memcached_analyze(memcached_st
*memc
,
35 memcached_stat_st
*memc_stat
,
36 memcached_return_t
*error
);
39 void memcached_analyze_free(memcached_analysis_st
*);
45 #endif /* __MEMCACHED_ANALYZE_H__ */