BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
ProfileSection Class Reference

Public Member Functions

 __construct ($name)
 

Detailed Description

Class for handling function-scope profiling

Since
1.22
Deprecated:
1.25 No-op now

Constructor & Destructor Documentation

ProfileSection::__construct (   $name)

Begin profiling of a function and return an object that ends profiling of the function when that object leaves scope. As long as the object is not specifically linked to other objects, it will fall out of scope at the same moment that the function to be profiled terminates.

This is typically called like:

$section = new ProfileSection( __METHOD__ );
Parameters
string$nameName of the function to profile

The documentation for this class was generated from the following file: