« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 25 for elapsed (0.001 sec.)
Ticks elapsed since the given value 12902
« HRTime\PerformanceCounter::getTicks HRTime\StopWatch » PHP Manual HRTime\PerformanceCounter Ticks elapsed since the given value 検索 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 count. 関連キー ... ワード: HRTime PerformanceCounter elapsed since given Ticks getTicksSince start ticks count getTicks StopWatch hrtime static Starting indicating ...
https://man.mtool.work/php/8.3/hrtime-performancecounter.gettickssince.html
Ticks elapsed since the given value 12802
« HRTime\PerformanceCounter::getTicks HRTime\StopWatch » PHP Manual HRTime\PerformanceCounter Ticks elapsed since the given value 検索 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 count. 関連キー ... ワード: HRTime value PerformanceCounter elapsed since given Ticks getTicksSince int start ticks Returns count getTicks Search StopWatch hrtime static function パラメータ ...
https://man.mtool.work/php/8.3/hrtime-performancecounter.gettickssince.html
xhprof プロファイラを開始する 9996
« xhprof_disable xhprof_sample_disable » PHP Manual Xhprof 関数 xhprof プロファイラを開始する 検索 xhprof_enable (PECL xhprof >= 0.9.0) xhprof_enable — xhprof プロファイラを開始する 説明 function xhprof_enable ( int $flags = 0 , array $opti ... バージョン 説明 PECL xhprof 0.9.2 オプションのパラメータ options が追加されました。 例 例1 xhprof_enable() の例 <?php // 1. elapsed time + memory + CPU profiling; and ignore built-in (internal) functions xhprof_enable ( XHPROF_FLAGS_NO_BUILTINS | XHPROF_ ... FLAGS_CPU | XHPROF_FLAGS_MEMORY ); // 2. elapsed time profiling; ignore call_user_func* during profiling xhprof_enable ( 0 , array( 'ignored_functions' => array( 'call_use ... r_func' , 'call_user_func_array' ))); // 3. elapsed time + memory profiling; ignore call_user_func* during profiling xhprof_enable ( XHPROF_FLAGS_MEMORY , array( 'ignored_fun ...
https://man.mtool.work/php/8.3/function.xhprof-enable.html
xhprof プロファイラを開始する 9996
« xhprof_disable xhprof_sample_disable » PHP Manual Xhprof 関数 xhprof プロファイラを開始する 検索 xhprof_enable (PECL xhprof >= 0.9.0) xhprof_enable — xhprof プロファイラを開始する 説明 function xhprof_enable ( int $flags = 0 , array $opti ... バージョン 説明 PECL xhprof 0.9.2 オプションのパラメータ options が追加されました。 例 例1 xhprof_enable() の例 <?php // 1. elapsed time + memory + CPU profiling; and ignore built-in (internal) functions xhprof_enable ( XHPROF_FLAGS_NO_BUILTINS | XHPROF_ ... FLAGS_CPU | XHPROF_FLAGS_MEMORY ); // 2. elapsed time profiling; ignore call_user_func* during profiling xhprof_enable ( 0 , array( 'ignored_functions' => array( 'call_use ... r_func' , 'call_user_func_array' ))); // 3. elapsed time + memory profiling; ignore call_user_func* during profiling xhprof_enable ( XHPROF_FLAGS_MEMORY , array( 'ignored_fun ...
https://man.mtool.work/php/8.3/function.xhprof-enable.html
The HRTime\PerformanceCounter class 9249
« Basic usage HRTime\PerformanceCounter::getFrequency » PHP Manual HRTime The HRTime\PerformanceCounter class 検索 The HRTime\PerformanceCounter class (PECL hrtime >= 0.4.3) はじめに クラス概要 class HRTime\PerformanceCounter { /* メソッド ... econd HRTime\PerformanceCounter::getTicks — Current ticks from the system HRTime\PerformanceCounter::getTicksSince — Ticks elapsed since the given value 関連キーワード: HRTime PerformanceCounter getFrequency static getTicks getTicksSince ticks usage hrt ... ime 概要 start 目次 Timer frequency second Current system Ticks elapsed since given ...
https://man.mtool.work/php/8.3/class.hrtime-performancecounter.html
Makes event pending 9033
« Event Event::addSignal » PHP Manual Event Makes event pending 検索 Event::add (PECL event >= 1.2.6-beta) Event::add — Makes event pending 説明 public function Event::add ( float $timeout = ? ): bool Marks event pending. Non-pending event ... imer <?php $base = new EventBase (); $n = 2 ; $e = Event :: timer ( $base , function( $n ) use (& $e ) { echo " $n seconds elapsed\n" ; $e -> delTimer (); }, $n ); $e -> add ( $n ); $base -> loop (); ?> 上の例の出力は、 たとえば以下のようになります。 2 ... seconds elapsed 参考 Event::add() Event::del() - Makes event non-pending Event::signal() - Constructs signal event object Event::timer() - ... rminal window Caught never called specified Adding examples grep examp ruslan MyEventSignal eventSighandler EventBase loop elapsed ...
https://man.mtool.work/php/8.3/event.add.html
Basic usage 8916
« 例 HRTime\PerformanceCounter » PHP Manual 例 Basic usage 検索 Basic usage The example illustrates the basic StopWatch class usage 例1 Measure several code blocks execution and get the total <?php $c = new HRTime\StopWatch ; $c -> start () ... ; /* measure this code block execution */ for ( $i = 0 ; $i < 1024 * 1024 ; $i ++); $c -> stop (); $elapsed0 = $c -> getLastElapsedTime ( HRTime\Unit :: NANOSECOND ); /* measurement is not running here*/ for ( $i = 0 ; $i < 1024 * ... $i ++); $c -> start (); /* measure this code block execution */ for ( $i = 0 ; $i < 1024 * 1024 ; $i ++); $c -> stop (); $elapsed1 = $c -> getLastElapsedTime ( HRTime\Unit :: NANOSECOND ); $elapsed_total = $c -> getElapsedTime ( HRTime\Unit :: NANOSECO ... ND ); ?> 関連キーワード: HRTime usage code execution elapsed Unit StopWatch total start measure block stop getLastElapsedTime Search PerformanceCounter example illustrates class Measu ...
https://man.mtool.work/php/8.3/hrtime.example.basic.html
Basic usage 8916
« 例 HRTime\PerformanceCounter » PHP Manual 例 Basic usage 検索 Basic usage The example illustrates the basic StopWatch class usage 例1 Measure several code blocks execution and get the total <?php $c = new HRTime\StopWatch ; $c -> start () ... ; /* measure this code block execution */ for ( $i = 0 ; $i < 1024 * 1024 ; $i ++); $c -> stop (); $elapsed0 = $c -> getLastElapsedTime ( HRTime\Unit :: NANOSECOND ); /* measurement is not running here*/ for ( $i = 0 ; $i < 1024 * ... $i ++); $c -> start (); /* measure this code block execution */ for ( $i = 0 ; $i < 1024 * 1024 ; $i ++); $c -> stop (); $elapsed1 = $c -> getLastElapsedTime ( HRTime\Unit :: NANOSECOND ); $elapsed_total = $c -> getElapsedTime ( HRTime\Unit :: NANOSECO ... ND ); ?> 関連キーワード: HRTime usage code execution elapsed Unit StopWatch total start measure block stop getLastElapsedTime PerformanceCounter example illustrates Measure several bl ...
https://man.mtool.work/php/8.3/hrtime.example.basic.html
Fetch the current CPU time usage of the Lua environment 8817
« LuaSandbox::enableProfiler LuaSandbox::getMemoryUsage » PHP Manual LuaSandbox Fetch the current CPU time usage of the Lua environment 検索 LuaSandbox::getCPUUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getCPUUsage — Fetch the current CPU ... perating systems that do not support CLOCK_THREAD_CPUTIME_ID , such as FreeBSD and Mac OS X, this function will return the elapsed wall-clock time, not CPU time. 参考 LuaSandbox::getMemoryUsage() - Fetch the current memory usage of the Lua environment L ... Profiler luasandbox float Fetches includes spent callbacks seconds Windows always operating systems support FreeBSD return elapsed ...
https://man.mtool.work/php/8.3/luasandbox.getcpuusage.html
Makes event pending 8053
« Event Event::addSignal » PHP Manual Event Makes event pending 検索 Event::add (PECL event >= 1.2.6-beta) Event::add — Makes event pending 説明 public function Event::add ( float $timeout = ? ): bool Marks event pending. Non-pending event ... imer <?php $base = new EventBase (); $n = 2 ; $e = Event :: timer ( $base , function( $n ) use (& $e ) { echo " $n seconds elapsed\n" ; $e -> delTimer (); }, $n ); $e -> add ( $n ); $base -> loop (); ?> 上の例の出力は、 たとえば以下のようになります。 2 ... seconds elapsed 参考 Event::add() Event::del() - Makes event non-pending Event::signal() - Constructs signal event object Event::timer() - ...
https://man.mtool.work/php/8.3/event.add.html
PREV 1 2 3 NEXT