Public Member Functions | |
| __construct ($query) | |
| start () | |
| stop () | |
| __get ($name) | |
Static Public Member Functions | |
| static | get_time_in_microseconds () |
Public Attributes | |
| $start_time | |
| $end_time | |
| $query_text | |
| $backtrace = '' | |
Class to assist in profiling queries
Definition at line 11 of file queryprofile.php.
| QueryProfile::__construct | ( | $ | query | ) |
Constructor for the query profile. Automatically sets the start time for the query
| query | SQL being executed |
Definition at line 24 of file queryprofile.php.
| static QueryProfile::get_time_in_microseconds | ( | ) | [static] |
Returns an integer representing the current time in microseconds from Epoch
Definition at line 59 of file queryprofile.php.
1.7.1