PHP 인터페이스 iXHProfRuns, xhprof

Clients can either use the default implementation, namely XHProfRuns_Default, of this interface or define their own implementation.
저자: Kannan
파일 보기 프로젝트 열기: preinheimer/xhprof

공개 메소드들

메소드 설명
get_run ( $run_id, $type, &$run_desc ) Returns XHProf data given a run id ($run) of a given type ($type).
save_run ( $xhprof_data, $type, $run_id = null ) Save XHProf data for a profiler run of specified type ($type).

메소드 상세

get_run() 공개 메소드

Also, a brief description of the run is returned via the $run_desc out parameter.
public get_run ( $run_id, $type, &$run_desc )

save_run() 공개 메소드

The caller may optionally pass in run_id (which they promise to be unique). If a run_id is not passed in, the implementation of this method must generated a unique run id for this saved XHProf run. Returns the run id for the saved XHProf run.
public save_run ( $xhprof_data, $type, $run_id = null )