e6b6aa0b09
I noticed that directorty structure of hphp/system was a bit scattered, so I consolidated things to reduce the total number of folders and to put related things together with each other. This diff moves the contents of "hphp/system/classes_hhvm" into "hphp/system", it moves the contents of "hphp/system/lib" into "hphp/system", moves "hphp/idl" to "hphp/system/idl", and moves the contents of "hphp/system/globals" into "hphp/system/idl".
14 linhas
246 B
PHP
14 linhas
246 B
PHP
<?php
|
|
|
|
/**
|
|
* Helps application inserting an artificial frame in xhprof's reporting.
|
|
*/
|
|
class XhprofFrame {
|
|
public function __construct($name) {
|
|
xhprof_frame_begin($name);
|
|
}
|
|
public function __destruct() {
|
|
xhprof_frame_end();
|
|
}
|
|
}
|