33 if ( !function_exists(
'getrusage' ) ) {
35 } elseif ( defined(
'HHVM_VERSION' ) && PHP_OS ===
'Linux' ) {
36 return getrusage( 2 );
38 return getrusage( 0 );
wfGetRusage()
Get system resource usage of current request context.
wfProfileOut( $functionname='missing')
Stop profiling of a function.
wfProfileIn( $functionname)
Begin profiling of a function.