3 # Stub profiling functions
5 function wfProfileIn( $fn = '' ) {
6 global $hackwhere, $wgDBname;
8 if (function_exists("setproctitle"))
9 setproctitle($fn . " [$wgDBname]");
11 function wfProfileOut( $fn = '' ) {
12 global $hackwhere, $wgDBname;
13 if (count($hackwhere))
14 array_pop($hackwhere);
15 if (function_exists("setproctitle") && count($hackwhere))
16 setproctitle($hackwhere[count($hackwhere)-1] . " [$wgDBname]");
18 function wfGetProfilingOutput( $s, $e ) {}
19 function wfProfileClose() {}
20 function wfLogProfilingData() {}