semver: 1.0 -> 1
[m6w6/libmemcached] / include / libmemcached-1 / struct / analysis.h
1 /*
2 +--------------------------------------------------------------------+
3 | libmemcached - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020 Michael Wallner <mike@php.net> |
13 +--------------------------------------------------------------------+
14 */
15
16 #pragma once
17
18 struct memcached_analysis_st {
19 memcached_st *root;
20 uint32_t average_item_size;
21 uint32_t longest_uptime;
22 uint32_t least_free_server;
23 uint32_t most_consumed_server;
24 uint32_t oldest_server;
25 double pool_hit_ratio;
26 uint64_t most_used_bytes;
27 uint64_t least_remaining_bytes;
28 };