Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: test/cctest/test-cpu-profiler.cc

Issue 1148007: Merge bleeding_edge from version 2.1.3 up to revision 4205... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // 2 //
3 // Tests of profiles generator and utilities. 3 // Tests of profiles generator and utilities.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 #include "cpu-profiler-inl.h" 6 #include "cpu-profiler-inl.h"
7 #include "cctest.h" 7 #include "cctest.h"
8 8
9 namespace i = v8::internal; 9 namespace i = v8::internal;
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 bottom_up_root_children[2]->GetChildren(&bottom_up_ddd_children); 193 bottom_up_root_children[2]->GetChildren(&bottom_up_ddd_children);
194 CHECK_EQ(1, bottom_up_ddd_children.length()); 194 CHECK_EQ(1, bottom_up_ddd_children.length());
195 CHECK_EQ("args_count: 5", bottom_up_ddd_children.last()->entry()->name()); 195 CHECK_EQ("args_count: 5", bottom_up_ddd_children.last()->entry()->name());
196 i::List<ProfileNode*> bottom_up_ddd_stub_children; 196 i::List<ProfileNode*> bottom_up_ddd_stub_children;
197 bottom_up_ddd_children.last()->GetChildren(&bottom_up_ddd_stub_children); 197 bottom_up_ddd_children.last()->GetChildren(&bottom_up_ddd_stub_children);
198 CHECK_EQ(1, bottom_up_ddd_stub_children.length()); 198 CHECK_EQ(1, bottom_up_ddd_stub_children.length());
199 CHECK_EQ("bbb", bottom_up_ddd_stub_children.last()->entry()->name()); 199 CHECK_EQ("bbb", bottom_up_ddd_stub_children.last()->entry()->name());
200 200
201 processor.TearDownSamplesProducer(); 201 processor.TearDownSamplesProducer();
202 } 202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698