TPM - Ticks Per Minute PHP Class

Written by Kevin on September 18, 2012

I have been writing a couple PHP CLI scripts, some that are long running. I wanted a simple way to keep a running average of how many times certain actions were taking place. In comes TPM. A very small and simple class that keep tracks of “ticks” per minute for you.

https://gist.github.com/mrkmg/3743467

Hope you find it useful!