This patch is introducing a way to grab heap stats.
authorloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Apr 2012 08:52:25 +0000 (08:52 +0000)
committerloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Apr 2012 08:52:25 +0000 (08:52 +0000)
commitd1f83dd95a30fe9d7147ca19b4bf31ac80361189
tree0d0ea6f140a1e824bdc7c05a08377b2d6e682140
parent73e33992bfaa3bffccd524bef0b0f395534a67a1
This patch is introducing a way to grab heap stats.
The idea is to monitor the heap regulary and track each object in the heap.
With this data we will be able do draw heap usage diagram.
Where X is time and Y is the number of objects.

BUG=none
TEST=HeapSnapshotObjectsStats

Review URL: https://chromiumcodereview.appspot.com/10049002

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