/usr/include/libmemcached/analyze.h is in libmemcached-dev 0.44-1.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | /* LibMemcached
* Copyright (C) 2006-2009 Brian Aker
* All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*
* Summary: Generate a memcached_analysis_st
*
*/
#ifndef __LIBMEMCACHED_ANALYZE_H__
#define __LIBMEMCACHED_ANALYZE_H__
struct memcached_analysis_st {
memcached_st *root;
uint32_t average_item_size;
uint32_t longest_uptime;
uint32_t least_free_server;
uint32_t most_consumed_server;
uint32_t oldest_server;
double pool_hit_ratio;
uint64_t most_used_bytes;
uint64_t least_remaining_bytes;
};
#ifdef __cplusplus
extern "C" {
#endif
LIBMEMCACHED_API
memcached_analysis_st *memcached_analyze(memcached_st *memc,
memcached_stat_st *memc_stat,
memcached_return_t *error);
LIBMEMCACHED_API
void memcached_analyze_free(memcached_analysis_st *);
#ifdef __cplusplus
}
#endif
#endif /* __LIBMEMCACHED_ANALYZE_H__ */
|