pthreads seem to be fully supported on Linux and Android which allows to remove many...
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Apr 2013 12:06:43 +0000 (12:06 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Apr 2013 12:06:43 +0000 (12:06 +0000)
commit2e41f0ce1a66138b727a4e335c7e83d6a137dbe1
tree6bc6d0e7cfd60df3eaf31c8ba89ff2c7d56a7050
parentecfa9675a23c1810b2da84ea8544f8e8acb4510a
pthreads seem to be fully supported on Linux and Android which allows to remove many #ifdefs.

Also OS::Sleep(interval_) is used to pause sampling thread on all platforms. It makes no sense to send signal once 900mks to compensate 100mks delay on signal delivery as the signals would be delivered once 900mks.

BUG=None

Review URL: https://codereview.chromium.org/14238007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/cpu-profiler.h
src/log.h
src/platform.h
src/sampler.cc