Implement circular queues for the C++ version of CPU profiler.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 17 Mar 2010 12:25:10 +0000 (12:25 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 17 Mar 2010 12:25:10 +0000 (12:25 +0000)
commitce9298029d539616a4cd0894d8a58baa98f60053
tree8034721d4ff4b92d7c437071ad47b8520aa10d30
parenta43c533d2f1b0f3c9d85bb3f185c8c07bc730ab5
Implement circular queues for the C++ version of CPU profiler.

Circular queues serve as a transport for communicating between
VM, stack sampler and analyzer threads. Logging requirements
for VM and stack sampler are completely different, that's why
I introduced two different versions of CQs.

Review URL: http://codereview.chromium.org/1047002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
src/SConscript
src/circular-queue-inl.h [new file with mode: 0644]
src/circular-queue.cc [new file with mode: 0644]
src/circular-queue.h [new file with mode: 0644]
src/platform.h
test/cctest/SConscript
test/cctest/test-circular-queue.cc [new file with mode: 0644]
tools/gyp/v8.gyp
tools/v8.xcodeproj/project.pbxproj
tools/visual_studio/v8_base.vcproj
tools/visual_studio/v8_base_arm.vcproj
tools/visual_studio/v8_base_x64.vcproj
tools/visual_studio/v8_cctest.vcproj
tools/visual_studio/v8_cctest_arm.vcproj
tools/visual_studio/v8_cctest_x64.vcproj