3 # Stub profiling functions
5 $haveProctitle=function_exists("setproctitle");
6 function wfProfileIn( $fn = '' ) {
7 global $hackwhere, $haveProctitle;
10 setproctitle($fn . ' ['.wfWikiID().']');
13 function wfProfileOut( $fn = '' ) {
14 global $hackwhere, $haveProctitle;
17 if (count($hackwhere))
18 array_pop($hackwhere);
19 if (count($hackwhere))
20 setproctitle($hackwhere[count($hackwhere)-1] . ' ['.wfWikiID().']');
22 function wfGetProfilingOutput( $s, $e ) {}
23 function wfProfileClose() {}