1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 19:22:42 +01:00

Fix XHProf under HPHP/HPHPi.

This commit is contained in:
epriestley 2011-04-02 15:19:02 -07:00
parent c2f10f19b1
commit 1907f782b6

View file

@ -55,7 +55,9 @@ final class DarkConsoleXHProfPluginAPI {
public static function startProfiler() { public static function startProfiler() {
self::includeXHProfLib(); self::includeXHProfLib();
xhprof_enable(); // Note: HPHP's implementation of XHProf currently requires an argument
// to xhprof_enable() -- see Facebook Task #531011.
xhprof_enable(0);
} }
public static function stopProfiler() { public static function stopProfiler() {