« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 16 for hits (0.002 sec.)
Yac::info — Status of cache | PHP 8.3 13568
Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値 Returns an array with the following keys: memory_size Total ... segment_num Number of value memory segments. miss Number of cache misses: lookups that found nothing or an expired entry. hits Number of cache hits: successful lookups. fails Number of failed stores: stores that could not allocate a value block. kic ... [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 h ... it ratio can be computed as hits / (hits + miss) ; a growing kicks or fails counter indicates that the cache is under memory pressure. 参考 Yac::dump() - D ...
https://man.mtool.work/php/8.3/yac.info.html
yaz_hits — 直近の検索に関するヒット数を返す | PHP 8.3 11644
yaz_hits (PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) yaz_hits — 直近の検索に関するヒット数を返す 説明 function yaz_hits ( resource $id , array &$searchresult = ? ): int yaz_hits() は、直近の検索に関するヒット数を返します。 パラメータ id yaz_connect ...
https://man.mtool.work/php/8.3/function.yaz-hits.html
例 | PHP 8.3 10015
例 PHP/YAZ はターゲット(Z-Associations)との接続を保持し続けます。 正の整数で特定の接続のIDを表します。 以下のスクリプトは、API の並列検索機能のデモです。引数を指定せずにコールした場合、 この関数はクエリフォームを出力します。そうでない場合 ( ... <hr />' . $host [ $i ] . ':' ; $error = yaz_error ( $id [ $i ]); if (!empty( $error )) { echo "Error: $error " ; } else { $hits = yaz_hits ( $id [ $i ]); echo "Result Count $hits " ; } echo '<dl>' ; for ( $p = 1 ; $p <= 10 ; $p ++) { $rec = yaz_recor ...
https://man.mtool.work/php/8.3/yaz.examples.html
ReflectionExtension::info — 拡張モジュールの情報を表示する | PHP 8.3 9288
ReflectionExtension::info (PHP 5 >= 5.2.4, PHP 7, PHP 8) ReflectionExtension::info — 拡張モジュールの情報を表示する 説明 public function ReflectionExtension::info (): void 指定した拡張モジュールに関する " phpinfo() " の情報を表示します。 パ ... sqlnd 8.3.17 Active Persistent Links => 0 Inactive Persistent Links => 0 Active Links => 0 Persistent cache => enabled put_hits => 0 put_misses => 0 get_hits => 0 get_misses => 0 size => 2000 free_items => 2000 references => 2 Directive => Local Valu ...
https://man.mtool.work/php/8.3/reflectionextension.info.html
Yac::dump — Dump cache entries for inspection | PHP 8.3 9132
Yac::dump (PECL yac >= 1.0.0) Yac::dump — Dump cache entries for inspection 説明 public function Yac::dump ( int $limit = 100 , int $offset = 0 ): array Dumps metadata of the entries currently stored in the cache. The values themselves are ... () . When the cache is full, the entry with the oldest atime among the candidate slots is evicted first (as of yac 2.4.0). hits A per-entry hit counter, bumped on each successful Yac::get() and reset when the entry is overwritten by a new Yac::set() ... => 12345 [hash] => 14463105906481965911 [crc] => 0 [ttl] => 0 [k_len] => 3 [v_len] => 3 [size] => 0 [atime] => 1725955200 [hits] => 0 [embedded] => 1 [key] => foo ) [1] => Array ( [index] => 12987 [hash] => 15132029420525657053 [crc] => 0 [ttl] => 0 ... [k_len] => 3 [v_len] => 3 [size] => 0 [atime] => 1725955200 [hits] => 0 [embedded] => 1 [key] => baz ) ) Entries are listed in slot order, not in the order they were stored. Embedded entri ...
https://man.mtool.work/php/8.3/yac.dump.html
apcu_cache_info — APCu のデータから、キャッシュされた情報を取得する | PHP 8.3 8698
apcu_cache_info (PECL apcu >= 4.0.0) apcu_cache_info — APCu のデータから、キャッシュされた情報を取得する 説明 function apcu_cache_info ( bool $limited = false ): array | false APCu のデータから、キャッシュされた情報およびメタデータを取得しま ... ていない場合などです。 変更履歴 バージョン 説明 PECL apcu 3.0.11 limited パラメータが追加されました。 PECL apcu 3.0.16 " filehits " オプションが cache_type パラメータに追加されました。 例 例1 apcu_cache_info() の例 <?php print_r ( apcu_cache_info ()); ... ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [num_slots] => 2000 [ttl] => 0 [num_hits] => 9 [num_misses] => 3 [start_time] => 1123958803 [cache_list] => Array ( [0] => Array ( [filename] => /path/to/apcu_test ... .php [device] => 29954 [inode] => 1130511 [type] => file [num_hits] => 1 [mtime] => 1123960686 [creation_time] => 1123960696 [deletion_time] => 0 [access_time] => 1123962864 [ref_count] => ...
https://man.mtool.work/php/8.3/function.apcu-cache-info.html
yaz_record — レコードを返す | PHP 8.3 8404
yaz_record (PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) yaz_record — レコードを返す 説明 function yaz_record ( resource $id , int $pos , string $type ): string yaz_record() 関数は、現在の結果セットの pos で指定した位置にあるレコードを調べます。 パラ ... メータ id yaz_connect() が返す接続リソース。 pos レコードの位置。結果セット内の位置は 1, 2, ... $hits で表されます。 ここで、$hits は yaz_hits() が返す値です。 type type は、返されるレコードの型を指定します。 注意 : Z39.50/S ...
https://man.mtool.work/php/8.3/function.yaz-record.html
yaz_range — 取得するレコードの範囲を指定する | PHP 8.3 7953
yaz_range (PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) yaz_range — 取得するレコードの範囲を指定する 説明 function yaz_range ( resource $id , int $start , int $number ): void 取得するレコードの範囲を指定します。 この関数は、 yaz_search() あるいは yaz ... パラメータ id yaz_connect() が返す接続リソース。 start 取得する最初のレコードの位置を指定します。レコード番号は 1 から yaz_hits() までです。 number 取得するレコードの数を指定します。 戻り値 値を返しません。 他のマニュアルの関連ページ Linux JM tac(1) ...
https://man.mtool.work/php/8.3/function.yaz-range.html
Memory Management | PHP 8.3 7953
Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in different ways, so it helps to know which pool a symptom belongs to b ... es of an entry. The key pool holds the keys: one slot per cached key, carrying the key itself (up to 48 bytes) together with its hash, TTL, hit count and last-access time; the value is only referenced through a pointer to the value pool. The value po ... n, evicting and re-inserting as needed. The only thing that says whether the key pool is sized correctly is the hit rate ( hits / (hits + miss) , computed over the deltas between two Yac::info() snapshots rather than the lifetime average). A high kic ...
https://man.mtool.work/php/8.3/yac.memory-management.html
定義済み定数 | PHP 8.3 7797
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 APC_ITER_ALL ( int ) APC_ITER_ATIME ( int ) APC_ITER_CTIME ( int ) APC_ITER_D ... _ITER_KEY ( int ) APC_ITER_MD5 ( int ) APC_ITER_MEM_SIZE ( int ) APC_ITER_MTIME ( int ) APC_ITER_NONE ( int ) APC_ITER_NUM_HITS ( int ) APC_ITER_REFCOUNT ( int ) APC_ITER_TTL ( int ) APC_ITER_TYPE ( int ) APC_ITER_VALUE ( int ) APC_LIST_ACTIVE ( int ...
https://man.mtool.work/php/8.3/apcu.constants.html
PREV 1 2 NEXT