P_MICROTIME
P_MICROTIME
Defines a parameter as "microtime"
A code profiling class
mark(string $identifier) : \Alo\Profiler
Sets a profiler mark
string | $identifier | How to identify this mark |
timeBetween(string $first_mark, string $second_mark) : float
Returns absolute microtime difference between the two marks
string | $first_mark | The first mark identifier |
string | $second_mark | The second mark identifier |
When one of the marks cannot be found
diff(string $first_mark, string $second_mark) : array
Returns the difference between the two marks, i.e. all key/value pairs in $second_mark that differ from those of $first_mark
string | $first_mark | The first mark identifier |
string | $second_mark | The second mark identifier |
When one of the marks cannot be found