PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
This extension appears to no longer be maintained. If you want to create this for Windows, contact us.
No replacement provided. Contact us if you know a replacement.
High resolution timing
The extension implements a high resolution StopWatch class. It uses the the best possible APIs on different platforms. It also makes possible to implement a custom stopwatch using low level ticks delivered by the underlaying APIs.
Stars: | 3 |
Downloads: | 51384 |
- Major refactoring of the class structure, as described below
- HRTime\PerformanceCounter::getFrequency() is now static
- add HRTime\PerformanceCounter::getTicks()
- add HRTime\PerformanceCounter::getTicksSince()
- moved HRTime\PerformanceCounter::start() to HRTime\StopWatch::start()
- moved HRTime\PerformanceCounter::stop() to HRTime\StopWatch::stop()
- moved HRTime\PerformanceCounter::getElapsedTicks() to HRTime\StopWatch::getElapsedTicks()
- moved HRTime\PerformanceCounter::getLastElapsedTicks() to HRTime\StopWatch::getLastElapsedTicks()
- moved HRTime\PerformanceCounter::isRunning() to HRTime\StopWatch::isRunning()
requires: