dio_fcntl

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Performs a c library fcntl on fd mixed dio_fcntl ( resource $fd, int $cmd [, mixed $args ] ) The dio_fcntl() function performs the operation specified by cmd on the file descriptor fd. Some commands require additional arguments args to be supplied. Parameters: fd The file descriptor returned by dio_open().

dio_close

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Closes the file descriptor given by fd void dio_close ( resource $fd ) The function dio_close() closes the file descriptor fd. Parameters: fd The file descriptor returned by dio_open(). Returns: No value is returned. Examples: Closing an

HRTime\StopWatch::getLastElapsedTime

(PECL hrtime >= 0.4.3) Get elapsed time for the last interval. public float HRTime\StopWatch::getLastElapsedTime ([ integer $unit ] ) Get elapsed time for the previously closed interval. Parameters: unit Time unit represented by a HRTime\Unit constant. Default is HRTime\Unit::SECOND. Returns: Returns float indicating elapsed time.

HRTime\StopWatch::getElapsedTime

(PECL hrtime >= 0.4.3) Get elapsed time for all intervals. public float HRTime\StopWatch::getElapsedTime ([ integer $unit ] ) Get elapsed time for all the previously closed intervals. Parameters: unit Time unit represented by a HRTime\Unit constant. Default is HRTime\Unit::SECOND. Returns: Returns float indicating elapsed time.

HRTime\PerformanceCounter::stop

(PECL hrtime >= 0.4.3) Stop time measurement public void HRTime\PerformanceCounter::stop ( void ) Stop the time measurement for the previously started interval. Returns: Returns void.

HRTime\PerformanceCounter::start

(PECL hrtime >= 0.4.3) Start time measurement public void HRTime\PerformanceCounter::start ( void ) Starts the time measurement. It has no effect if the measurement was already started. The measurement will be continued if it was previously stopped. Returns: Returns void.

HRTime\PerformanceCounter::isRunning

(PECL hrtime >= 0.4.3) Whether the measurement is running. public bool HRTime\PerformanceCounter::isRunning ( void ) Reveals whether the measurement was started. Returns: Returns boolean indicating whetehr the measurement is running.

HRTime\PerformanceCounter::getLastElapsedTicks

(PECL hrtime >= 0.4.3) Get elapsed ticks for the last interval. public int HRTime\PerformanceCounter::getLastElapsedTicks ( void ) Get elapsed ticks for the previously closed interval. Returns: Returns integer indicating elapsed ticks.

HRTime\PerformanceCounter::getFrequency

(PECL hrtime >= 0.4.3) Timer frequency in ticks per second public int HRTime\PerformanceCounter::getFrequency ( void ) Returns the timer frequency in ticks per second. This value is constant after the system start on almost any operating system. Returns: Returns integer indicating the timer frequency.

HRTime\PerformanceCounter::getElapsedTicks

(PECL hrtime >= 0.4.3) Get elapsed ticks for all intervals. public int HRTime\PerformanceCounter::getElapsedTicks ( void ) Get elapsed ticks for all the previously closed intervals. Returns: Returns integer indicating elapsed ticks.