C++ profiles processor: align browser mode with the old implementation, sample VM...
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Apr 2010 14:18:26 +0000 (14:18 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Apr 2010 14:18:26 +0000 (14:18 +0000)
commit4f5ff869d33f84f17fcbf2a0c68c8094aa66f3ca
tree334439bd943861982cf4fb53c345bf99211cbfe7
parenta4df380ffaf8f6b94ad2b2608d5f3d5ade61e9ae
C++ profiles processor: align browser mode with the old implementation, sample VM state.

In browser (DevTools) mode, only non-native JS code and callbacks are reported.
Also, added "(garbage collector)" entry which accumulates samples count in GC state.
Trying to display "(compiler)" and "(external)" only brings confusion,
because it ends up in displaying scripts code under "(compiler)" node, and DOM
event handlers under "(external)" node, which looks weird.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4357 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
16 files changed:
src/compiler.cc
src/cpu-profiler-inl.h
src/cpu-profiler.cc
src/cpu-profiler.h
src/globals.h
src/log-inl.h
src/log.cc
src/log.h
src/platform-linux.cc
src/platform-macos.cc
src/platform-win32.cc
src/platform.h
src/profile-generator-inl.h
src/profile-generator.cc
src/profile-generator.h
test/cctest/test-cpu-profiler.cc