Yac::infoStatus of cache 説明
public array Yac::info()
Get status of cache system パラメータこの関数にはパラメータはありません。 戻り値Returns an array with the following keys:
例例1 Yac::info example 上の例の出力は、 たとえば以下のようになります。
Array
(
[memory_size] => 75497472
[slots_memory_size] => 8388608
[values_memory_size] => 67108864
[segment_size] => 4194304
[segment_num] => 16
[miss] => 0
[hits] => 0
[fails] => 0
[kicks] => 0
[recycles] => 0
[start_time] => 1725955200
[slots_size] => 65536
[slots_used] => 1
)
The hit ratio can be computed as 参考
|