getrusage
getrusage
(PHP 4, PHP 5, PHP 7)
getrusage — Gets the current resource usages
Description
array getrusage ([ int $who = 0 ] )
This is an interface to getrusage(2). It gets data returned from the system call.
Parameters
-
who
-
If
who
is 1, getrusage will be called withRUSAGE_CHILDREN
.