2017 © Pedro Peláez
 

library stopwatch

Codervio Stopwatch

image

codervio/stopwatch

Codervio Stopwatch

  • Wednesday, April 18, 2018
  • by marinsagovac
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 25 % Grown

The README.md

Stopwatch

Latest Version on Packagist Build Status Join the chat at https://gitter.im/Codervio/Stopwatch, (*1)

A Stopwatch measures consumption time of executed scripts in micro/nano/mill seconds format. It includes pause event to freeze consumption time. A stopwatch time can be named as event stopwatch name. Support drivers using HRTime package or native microtime., (*2)

Donations

Due I am working 100% alone without any helps, organizations and any others team I can be satisfy for receiving any amount of payment to improve, develop and continue building on origin idea of framework., (*3)

You can pay any amount to PayPal: https://www.paypal.me/codervio?locale.x=en_US, (*4)

Installation

  1. Installation via Composer on Packagist
  2. Installation using Git GIT clone component

Changelog

Status of core:, (*5)

Version State
1.0 Release version

PHP version above 7.1. Quality assurance: Unit tests provided, (*6)

References

  • [Stopwatch] - A stopwatch constructor
  • [setDriver] - Set Stopwatch driver type
  • [getDriverName] - Get a class name of driver that is using
  • [start] - Start method for stopwatch timer
  • [stop] - Stop method for stopwatch timer
  • [next] - Automatically start a new timer measurement
  • [pause] - Start freezing timer of stopwatch
  • [unpause] - Stop freezing timer of stopwatch
  • [getDuration] - Get a duration time consumption
  • [getEvent] - Fetch event name
  • [getId] - Get Id
  • [getTaskCount] - Get number of tasks executed
  • [getTimeBorn] - Get at least first time executed
  • [getPrettyPrint] - Print in a table view rendered stopwatch events

GetEvent methods

  • [getDuration] - Fetch duration of event
  • [getStart] - Get time of started event
  • [getStop] - Get time of stop event
  • [getType] - Get a type of event (run or pause)
  • [isStopped] - Check is event stopped
  • [isStarted] - Check is event started

The Versions

18/04 2018

dev-master

9999999-dev http://codervio.com

Codervio Stopwatch

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marin Sagovac

framework php stopwatch environment microtime dev-tools hrtime