wiki.techinc.nl/includes/profiler
Ori Livneh 602a74af5d Compat fix for HHVM on non-Linux OSs
RUSAGE_THREAD is not POSIX; it's Linux-specific. HHVM now compiles on OS X,
and calling getrusage( 2 ) on OS X explodes with:

    exception : f_getrusage is not supported: RUSAGE_THREAD is not defined on
    this sytem [sic]

HHVM is being ported to Windows, too, where RUSAGE_THREAD is likewise missing.
So check that PHP_OS === 'Linux' before using it.

Change-Id: I6eac7d2bb4edfa1e697ae72f89299d0d5ac135f4
2015-09-23 01:55:57 -07:00
..
output Move StatsD key normalization from ProfilerOutputStats to BufferingStatsdDataFactory 2015-07-13 19:07:02 +00:00
Profiler.php ellapsed => elapsed 2015-06-23 03:32:33 +00:00
ProfilerFunctions.php Compat fix for HHVM on non-Linux OSs 2015-09-23 01:55:57 -07:00
ProfilerSectionOnly.php Remove useless +x flag on ProfilerSectionOnly 2015-04-24 09:21:32 -07:00
ProfilerStub.php Refactored entry points to have uniform shutdown handling 2015-05-29 20:40:46 +00:00
ProfilerXhprof.php Improve ProfilerXhprof's blacklist/whitelist capabilities 2015-05-21 12:09:12 -07:00
ProfileSection.php Fix braces code style 2015-06-17 16:28:51 +03:00
SectionProfiler.php ellapsed => elapsed 2015-06-23 03:32:33 +00:00
TransactionProfiler.php Include transaction details log entry for trx write time violations 2015-05-08 19:17:49 +00:00