Heap profiler: allow returning aggregated snapshots via the new API.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 18 Aug 2010 08:19:29 +0000 (08:19 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 18 Aug 2010 08:19:29 +0000 (08:19 +0000)
commite839a1ca58d7b44a89c3893eaa140b5331b2fc00
treecfcec5d68088f1472688bfea1df2e6500f61add0
parent2f5f2cad51192fb4b5b3d283a1f62409e49ed98e
Heap profiler: allow returning aggregated snapshots via the new API.

This is intended for smoother migration to the new API in Chromium.
Also, aggregated heap snapshots can be used for cheaply obtaining
heap statistics, e.g. in tests.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5297 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-profiler.h
src/api.cc
src/heap-profiler.cc
src/heap-profiler.h
src/profile-generator-inl.h
src/profile-generator.cc
src/profile-generator.h
test/cctest/test-heap-profiler.cc