v8/test/cctest
yurys@chromium.org dc9b817667 Send SIGPROF signals on the profiler event processor thread
The patch is based on the previous one that was rolled out: https://code.google.com/p/v8/source/detail?r=12985

On Linux sampling for CPU profiler is initiated on the profiler event processor thread, other platforms to follow.

CPU profiler continues to use SamplingCircularQueue, we will replave it with a single sample buffer when Mac and Win ports support profiling on the event processing thread.

When --prof option is specified profiling is initiated either on the profiler event processor thread if CPU profiler is on or on the  SignalSender thread as it used to if no CPU profiles are being collected.

ProfilerEventsProcessor::ProcessEventsAndDoSample now waits in a tight loop, processing collected samples until sampling interval expires. To save CPU resources I'm planning to change that to use nanosleep as only one sample is expected in the queue at any point.

BUG=v8:2364

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13735 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-02-26 16:15:32 +00:00
..
cctest.cc Make the Isolate parameter mandatory in Locker and Unlocker classes. 2013-01-18 07:20:17 +00:00
cctest.gyp Determine number of available cores on all platforms. 2013-02-15 12:38:59 +00:00
cctest.h Make the GC stress builder go green. 2013-02-06 13:21:28 +00:00
cctest.status Temporarily disable deferred stack trace formatting. 2013-01-18 13:05:03 +00:00
gay-fixed.cc
gay-fixed.h
gay-precision.cc Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-precision.h Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-shortest.cc
gay-shortest.h
log-eq-of-logging-and-traversal.js Eliminate the need for code delete events in CPU profiler. 2011-09-14 11:47:03 +00:00
SConscript Implement date library functions in C++. 2012-03-09 12:07:29 +00:00
test-accessors.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-alloc.cc Use MemoryChunk-based allocation for deoptimization entry code 2013-01-29 09:09:55 +00:00
test-api.cc Make __proto__ a foreign callback on Object.prototype. 2013-02-26 10:46:00 +00:00
test-assembler-arm.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-assembler-ia32.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-assembler-mips.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-assembler-x64.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-ast.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-bignum-dtoa.cc Fix X64 compilation on Windows. 2011-02-03 11:13:04 +00:00
test-bignum.cc Bignum implementation of Strtod. 2010-11-08 11:49:47 +00:00
test-circular-queue.cc Pick the namespace alias 'i' from v8.h. 2011-08-12 09:49:55 +00:00
test-compiler.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-conversions.cc Cleanup of ScannerConstants, now named UnicodeCache. 2011-04-12 08:27:38 +00:00
test-cpu-profiler.cc Send SIGPROF signals on the profiler event processor thread 2013-02-26 16:15:32 +00:00
test-dataflow.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-date.cc Implement date library functions in C++. 2012-03-09 12:07:29 +00:00
test-debug.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-decls.cc Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
test-deoptimization.cc Add kAbortIncrementalMarkingMask flag for GC. 2012-03-07 17:52:16 +00:00
test-dictionary.cc Make test-dictionary work for GC stress builder. 2012-11-20 10:47:31 +00:00
test-disasm-arm.cc ARM: Change signature for vmov.32 function in the assembler 2013-02-14 12:28:02 +00:00
test-disasm-ia32.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-disasm-mips.cc MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
test-disasm-x64.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-diy-fp.cc
test-double.cc Remove unused IsNan function 2012-04-23 13:44:06 +00:00
test-dtoa.cc Fix compilation on 64-bit Windows, update Visual Studio projects. 2011-02-03 13:29:10 +00:00
test-fast-dtoa.cc Fix X64 Windows compilation. 2011-02-03 15:14:46 +00:00
test-fixed-dtoa.cc
test-flags.cc Ensure removing processed command line arguments. 2012-06-13 15:02:05 +00:00
test-func-name-inference.cc Fix FindSharedFunctionInfoInScript to not optimize. 2012-09-03 14:23:00 +00:00
test-global-object.cc Always fail when trying to store to an undeclared global variable, even if it was found. 2013-01-23 16:04:19 +00:00
test-hashing.cc Continues Latin-1 support. All tests pass with ENABLE_LATIN_1 flag. 2013-01-09 15:47:53 +00:00
test-hashmap.cc
test-heap-profiler.cc Fix for HeapSnapshotAddressReuse test case. 2013-02-25 16:09:57 +00:00
test-heap.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-list.cc Progress towards making Zones independent of Isolates and Threads. 2012-06-04 14:42:58 +00:00
test-liveedit.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-lock.cc Stop running some liveedit tests (see issue 915). 2010-10-29 07:10:14 +00:00
test-lockers.cc Fixed a memory leak in v8 and another one in d8. 2013-02-12 11:57:51 +00:00
test-log-stack-tracer.cc Make the Isolate parameter mandatory for internal HandleScopes. 2013-02-15 09:27:10 +00:00
test-log.cc Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
test-macro-assembler-x64.cc Make the Isolate parameter mandatory for internal HandleScopes. 2013-02-15 09:27:10 +00:00
test-mark-compact.cc Fix NULL-pointer arithmetic abuse in tests surfaced by clang 2013-02-07 10:02:11 +00:00
test-object-observe.cc Work around nifty VS10 compiler bug 2013-02-11 12:28:22 +00:00
test-parsing.cc Make the Isolate parameter mandatory for internal HandleScopes. 2013-02-15 09:27:10 +00:00
test-platform-linux.cc Add OS::GetCurrentProcessId and prepend output from trace-gc with the current pid 2012-07-10 12:52:36 +00:00
test-platform-macos.cc
test-platform-nullos.cc
test-platform-tls.cc "Deiceolate" Thread classes. 2011-06-10 09:54:04 +00:00
test-platform-win32.cc Add OS::GetCurrentProcessId and prepend output from trace-gc with the current pid 2012-07-10 12:52:36 +00:00
test-platform.cc Determine number of available cores on all platforms. 2013-02-15 12:38:59 +00:00
test-profile-generator.cc Merge experimental/gc branch to the bleeding_edge. 2011-09-19 18:36:47 +00:00
test-random.cc Rename LookupSymbol calls to use Utf8 or OneByte in names. 2012-12-17 15:56:16 +00:00
test-regexp.cc Fix bogus regexp test. 2013-02-26 10:49:59 +00:00
test-reloc-info.cc Merge experimental/gc branch to the bleeding_edge. 2011-09-19 18:36:47 +00:00
test-serialize.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-sockets.cc Fix cctests using Sockets to be able to run in parallel 2012-10-01 09:41:18 +00:00
test-spaces.cc Use MemoryChunk-based allocation for deoptimization entry code 2013-01-29 09:09:55 +00:00
test-strings.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
test-strtod.cc Revert r10913. 2012-03-05 07:55:27 +00:00
test-thread-termination.cc Add Isolate parameter to Persistent class. 2013-01-25 08:31:46 +00:00
test-threads.cc Make the Isolate parameter mandatory in Locker and Unlocker classes. 2013-01-18 07:20:17 +00:00
test-unbound-queue.cc Pick the namespace alias 'i' from v8.h. 2011-08-12 09:49:55 +00:00
test-utils.cc Fix build errors. 2012-07-30 08:54:51 +00:00
test-version.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-weakmaps.cc Made Isolate a mandatory parameter for everything Handle-related. 2013-02-25 14:46:09 +00:00
testcfg.py Fix test harness to correctly split extra flags. 2013-01-29 13:27:23 +00:00