Turn off JIT::Timer by default in OSS build
commit877d66c096a2524dc5e6b33616cf35c0e3d2ee64
authorbsimmers <bsimmers@fb.com>
Mon, 28 Jul 2014 20:25:16 +0000 (28 13:25 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Tue, 29 Jul 2014 00:00:23 +0000 (28 17:00 -0700)
tree9a7a02c247ac4e0bacc256efdd03252dfb3af219
parenta6eb518ad1f8d3858b5ba9ba1241fd285c801497
Turn off JIT::Timer by default in OSS build

Summary: In the absence of our special __vdso_clock_gettime_ns syscall, it
falls back to getrusage. The former is fast enough that there's no reason to
not have it on by default but the same isn't true of the latter.

Reviewed By: @jdelong

Differential Revision: D1461996
hphp/runtime/base/runtime-option.cpp
hphp/runtime/base/runtime-option.h
hphp/runtime/vm/jit/timer.cpp