PHP Classes
elePHPant
Icontem

Stopwatch: Measure partial and final time between events

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-01-10 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 937 All time: 3,602 This week: 1,189Up
Version License PHP version Categories  
stopwatch 1.0GNU General Publi...5PHP 5, Performance and optimization
Description Author  

This class emulates a stopwatch that can measure partial and final time elapsed between events named as laps.

It takes the time since the start and the time that is taken on each lap.

The final results are sorted by lap time. A percentage of total time taken on each lap takes is also shown.

A practical example usage of this class could be profiling and optimizing your code.

Picture of Zafar Iqbal
Name: Zafar Iqbal is available for providing paid consulting. Contact Zafar Iqbal .
Classes: 8 packages by
Country: Greece Greece
Age: 41
All time rank: 2852 in Greece Greece
Week rank: 224 Up1 in Greece Greece Up
Innovation award
Innovation award
Nominee: 2x

Details provided by the author  
Stopwatch Class
===============

	Implements a simple stopwatch with start and lap controls.
	Final results are ordered by lap time.
	Percentage of total time each lap takes is also shown.
	A practical example could be profiling and optimizing your code.

	Please see the example script for usage.

2005-01-10	ultrasine@gmail.com
  Files folder image Files  
File Role Description
Plain text file class-stopwatch.php Class Class source
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file readme.txt Data Read Me

 Version Control Unique User Downloads Download Rankings  
 0%Total:937All time:3,602
 This week:0This week:1,189Up