Method |
Description |
|
__construct ( $dir = null ) |
|
|
getDbClass ( ) |
|
|
getDistinct ( $data ) |
|
|
getHardHit ( array $criteria ) : resource |
Obtains the pages that have been the hardest hit over the past N days, utalizing the getRuns() method. |
|
getNextAssoc ( $resultSet ) |
|
|
getRunComparativeData ( string $url, string $c_url ) : array |
Get comparative information for a given URL and c_url, this information will be used to display stats like how many calls a URL has,
average, min, max execution time, etc. This information is pushed into the global namespace, which is horribly hacky. |
|
getRuns ( array $stats ) : resource |
This function gets runs based on passed parameters, column data as key, value as the value. Values
are escaped automatically. You may also pass limit, order by, group by, or "where" to add those values,
all of which are used as is, no escaping. |
|
getUrlStats ( array $data ) : resource |
Get stats (pmu, ct, wt) on a url or c_url |
|
get_run ( string $run_id, mixed $type, mixed &$run_desc ) : mixed |
Retreives a run from the database, |
|
save_run ( string $xhprof_data, mixed $type, string $run_id = null, mixed $xhprof_details = null ) : string |
Save the run in the database. |
|