Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 282 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 282 Bytes

Time-Tracker

Measure time of process

How to use

$tt = new TimeTracker(); // Measuring of time starts here
// do some processes
$tt->getTime(); // Return: 2h 32m 26s 6538ms
$tt->reset(); // Measuring is reset to 0
// do something
$tt->getTime(); // Return: 2s 475ms