*
* @param $functionname String
*/
- public function profileOut($functionname) {
+ public function profileOut( $functionname ) {
global $wgDebugFunctionEntry;
$memory = memory_get_usage();
$time = $this->getTime();
* Begin profiling of a function
* @param $fn string
*/
- public function profileIn( $fn = '' ) {
+ public function profileIn( $fn ) {
global $wgDBname;
if( $this->haveProctitle ){
$this->hackWhere[] = $fn;
* Stop profiling of a function
* @param $fn string
*/
- public function profileOut( $fn = '' ) {
+ public function profileOut( $fn ) {
global $wgDBname;
if( !$this->haveProctitle ) {
return;