| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |