その他
導入
日付および時刻関連
PHP Manual
High resolution timing
導入
インストール/設定
インストール手順
例
Basic usage
HRTime\PerformanceCounter
— The HRTime\PerformanceCounter class
HRTime\PerformanceCounter::getElapsedTicks
— Get elapsed ticks for all intervals.
HRTime\PerformanceCounter::getFrequency
— Timer frequency in ticks per second
HRTime\PerformanceCounter::getLastElapsedTicks
— Get elapsed ticks for the last interval.
HRTime\PerformanceCounter::isRunning
— Whether the measurement is running.
HRTime\PerformanceCounter::start
— Start time measurement
HRTime\PerformanceCounter::stop
— Stop time measurement
HRTime\StopWatch
— The HRTime\StopWatch class
HRTime\StopWatch::getElapsedTime
— Get elapsed time for all intervals.
HRTime\StopWatch::getLastElapsedTime
— Get elapsed time for the last interval.
HRTime\Unit
— The HRTime\Unit class
その他
導入
日付および時刻関連
PHP Manual