? 其他
简介 ?
PHP8中文参考手册
日期与时间相关扩展
High resolution timing
High resolution timing
简介
安装/配置
安装
范例
Basic usage
HRTime\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
— Get elapsed ticks for all intervals
HRTime\StopWatch::getElapsedTime
— Get elapsed time for all intervals
HRTime\StopWatch::getLastElapsedTicks
— Get elapsed ticks for the last interval
HRTime\StopWatch::getLastElapsedTime
— Get elapsed time for the last interval
HRTime\StopWatch::isRunning
— 确认测量是否在运行
HRTime\StopWatch::start
— Start time measurement
HRTime\StopWatch::stop
— Stop time measurement
HRTime\Unit
— The HRTime\Unit class
User Contributed Notes
There are no user contributed notes for this page.
PHP8中文手册
由
站长在线
整理 版权归PHP文档组所有