Results of 1 - 10 of about 17 for Ticks (0.001 sec.)
- Imagick::setImageTicksPerSecond — 画像の ticks-per-second を設定する | PHP 8.3 11794
- Imagick::setImageTicksPerSecond (PECL imagick 2, PECL imagick 3) Imagick::setImageTicksPerSecond — 画像の ticks-per-second を設定する 説明 public function Imagick::setImageTicksPerSecond ( int $ticks_per_second ): bool アニメーション画像のフ
... レームを表示する時間を調整します。 注意 : アニメーション GIF の場合、この関数は秒間の 'image ticks' の数は変更しません。常に 100 です。 そのかわりに、'ticks per second' を変更し、フレームを表示する時間を変更したように見せ ... ます。 たとえば、各フレームを 20 ticks (1/5 秒) ずつ表示させるようにしているアニメーション GIF に対して、この関数の引数に 50 を渡して呼び出すと、 各フレームの表示 ... 時間を 40 ticks (2/5 秒) に変更します。 その結果、元の半分の速さで表示されるようになります。 パラメータ ticks_per_second 画像を表示させる時 ...
-
https://man.mtool.work/php/8.3/imagick.setimagetickspersecond.html
- HRTime\PerformanceCounter::getTicksSince — Ticks elapsed since the given value ... 11414
- HRTime\PerformanceCounter::getTicksSince (PECL hrtime >= 0.6.0) HRTime\PerformanceCounter::getTicksSince — Ticks elapsed since the given value 説明 public static function HRTime\PerformanceCounter::getTicksSince ( int $start ): int Returns
... the ticks count elapsed since the given start value. パラメータ start Starting ticks value. 戻り値 Returns int indicating the ticks ...
-
https://man.mtool.work/php/8.3/hrtime-performancecounter.gettickssince.html
- declare | PHP 8.3 10276
- declare (PHP 4, PHP 5, PHP 7, PHP 8) declare 文は、あるコードブロックの中に 実行ディレクティブをセットするために使用します。 declare の文法は他の制御構造と似ています。 declare (ディレクティブ) 文 ディレクティブ の箇所で、セットされた declar
... e ブロックの挙動を指定することが出来ます。 現在のところ、使用できるディレクティブは以下の3つだけです: ticks encoding strict_types ディレクティブの処理は、ファイルをコンパイルする際に行われるので、 ディレクティブの値として渡せるのは ... 、リテラルだけとなります。 変数や定数は、使えません。以下に例を示します。 <?php // これは有効です declare( ticks = 1 ); // これは無効です const TICK_VALUE = 1 ; declare( ticks = TICK_VALUE ); declare ブロックの 文 の実行のされ方や実行時 ... ードされた場合は、 親ファイルにはその影響は及びません)。 <?php // 以下は同じ意味です // こうすることもできますし、 declare( ticks = 1 ) { // ここにすべてのスクリプトを書きます } // こうすることもできます declare( ticks = 1 ); // ここにすべてのスクリプト ...
-
https://man.mtool.work/php/8.3/control-structures.declare.html
- The HRTime\PerformanceCounter class | PHP 8.3 9828
- The HRTime\PerformanceCounter class (PECL hrtime >= 0.4.3) はじめに クラス概要 class HRTime\PerformanceCounter { /* メソッド */ public static function getFrequency (): int public static function getTicks (): int public static function getTicks
... cksSince ( int $start ): int } 目次 HRTime\PerformanceCounter::getFrequency — Timer frequency in ticks per second HRTime\PerformanceCounter::getTicks — Current ticks from the system HRTime\PerformanceCounter::getTicksSince — ...
-
https://man.mtool.work/php/8.3/class.hrtime-performancecounter.html
- HRTime\PerformanceCounter::getTicks — Current ticks from the system | PHP 8.3 9828
- HRTime\PerformanceCounter::getTicks (PECL hrtime >= 0.6.0) HRTime\PerformanceCounter::getTicks — Current ticks from the system 説明 public static function HRTime\PerformanceCounter::getTicks (): int Returns the ticks count. パラメータ この関
... 数にはパラメータはありません。 戻り値 Returns int indicating the ticks count. 他のマニュアルの関連ページ Docker docker system Docker docker system ...
-
https://man.mtool.work/php/8.3/hrtime-performancecounter.getticks.html
- Imagick::getImageTicksPerSecond — 画像の ticks-per-second を取得する | PHP 8.3 9673
- Imagick::getImageTicksPerSecond (PECL imagick 2, PECL imagick 3) Imagick::getImageTicksPerSecond — 画像の ticks-per-second を取得する 説明 public function Imagick::getImageTicksPerSecond (): int 画像の ticks-per-second を取得します。 パラメ
... ータ この関数にはパラメータはありません。 戻り値 画像の ticks-per-second を返します。 エラー / 例外 エラー時に ImagickException をスローします。 ...
-
https://man.mtool.work/php/8.3/imagick.getimagetickspersecond.html
- High resolution timing | PHP 8.3 9604
- High resolution timing はじめに The HRTime extension implements a high resolution StopWatch class. It uses the best possible APIs on different platforms which brings resolution up to nanoseconds. It also makes possible to implement a custom
... stopwatch using low level ticks delivered by the underlying APIs. 注意 : As of PHP 7.3.0 the related function hrtime() is part of the core. インストール/設 ... Time\PerformanceCounter — The HRTime\PerformanceCounter class HRTime\PerformanceCounter::getFrequency — Timer frequency in ticks per second HRTime\PerformanceCounter::getTicks — Current ticks from the system HRTime\PerformanceCounter::getTicksSince — ... Ticks elapsed since the given value HRTime\StopWatch — The HRTime\StopWatch class HRTime\StopWatch::getElapsedTicks — すべてのインターバルの経過ティック数を取得する HRTime\StopWatch::getElapsedTime — すべてのインターバルの経過時間を取得す ...
-
https://man.mtool.work/php/8.3/book.hrtime.html
- Swoole\Timer::tick — Set a repeating interval timer | PHP 8.3 9380
- Swoole\Timer::tick (PECL swoole >= 1.9.0) Swoole\Timer::tick — Set a repeating interval timer 説明 public static function Swoole\Timer::tick ( int $ms , callable $callback , mixed ...$params ): int | false Sets a timer that triggers every m
... false if the timer could not be created, in particular when ms is less than 1 . 例 例1 Swoole\Timer::tick() example <?php $ticks = 0 ; Swoole\Timer :: tick ( 1000 , function ( int $timer_id , string $label ) use (& $ticks ) { echo "tick #" , ++ $ticks ... , " ( $label )\n" ; if ( $ticks === 3 ) { Swoole\Timer :: clear ( $timer_id ); } }, "job" ); ?> 上の例の出力は以下となります。 tick #1 (job) tick #2 (job) ...
-
https://man.mtool.work/php/8.3/swoole-timer.tick.html
- HRTime\PerformanceCounter::getFrequency — Timer frequency in ticks per second |... 8466
- HRTime\PerformanceCounter::getFrequency (PECL hrtime >= 0.4.3) HRTime\PerformanceCounter::getFrequency — Timer frequency in ticks per second 説明 public static function HRTime\PerformanceCounter::getFrequency (): int Returns the timer frequ
... ency in ticks per second. This value is constant after the system start on almost any operating system. パラメータ この関数にはパラメータ ...
-
https://man.mtool.work/php/8.3/hrtime-performancecounter.getfrequency.html
- zookeeper_dispatch — Calls callbacks for pending operations | PHP 8.3 8397
- zookeeper_dispatch (PECL zookeeper >= 0.4.0) zookeeper_dispatch — Calls callbacks for pending operations 説明 function zookeeper_dispatch (): void The zookeeper_dispatch() function calls the callbacks passed by operations like Zookeeper::ge
... ust be called manually to achieve asynchronous operations. If you want that to be done automatically, you also can declare ticks at the beginning of your program. After PHP 7.1, you can ignore this function. This extension uses EG(vm_interrupt) to imp ... lled" . PHP_EOL ; }); while( true ) { sleep ( 1 ); zookeeper_dispatch (); } ?> 例2 zookeeper_dispatch() example #2 Declare ticks. <?php declare( ticks = 1 ); $client = new Zookeeper (); $client -> connect ( 'localhost:2181' ); $client -> get ( '/zooke ...
-
https://man.mtool.work/php/8.3/function.zookeeper-dispatch.html