djuricmilos/stopwatch

Elapsed time measurement

v2.0.1 2020-09-06 12:35 UTC

This package is auto-updated.

Last update: 2024-12-04 17:30:59 UTC


README

Build Status Code Quality Code Coverage Latest Version PDS Skeleton

Installation

The preferred method of installation is via Composer. Run the following command to install the latest version of a package and add it to your project's composer.json:

composer require djuricmilos/stopwatch

Usage

use Laganica\Stopwatch\Stopwatch;

$stopwatch = Stopwatch::createNew();
$stopwatch->start();
$stopwatch->getElapsedMilliseconds();
$stopwatch->stop();

Credits

License

Released under MIT License - see the License File for details.