| Index: test/cctest/test-cpu-profiler.cc
|
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc
|
| index 7b5fc2b0fe7f9daa418ef9cc06338284a7bc0281..2225b3a3b3ade83468f46c74da1bb5deb31699ed 100644
|
| --- a/test/cctest/test-cpu-profiler.cc
|
| +++ b/test/cctest/test-cpu-profiler.cc
|
| @@ -48,7 +48,7 @@ using i::Vector;
|
| TEST(StartStop) {
|
| CpuProfilesCollection profiles;
|
| ProfileGenerator generator(&profiles);
|
| - ProfilerEventsProcessor processor(&generator);
|
| + ProfilerEventsProcessor processor(&generator, NULL, 100);
|
| processor.Start();
|
| processor.StopSynchronously();
|
| processor.Join();
|
| @@ -139,7 +139,7 @@ TEST(CodeEvents) {
|
| CpuProfilesCollection* profiles = new CpuProfilesCollection;
|
| profiles->StartProfiling("", 1, false);
|
| ProfileGenerator generator(profiles);
|
| - ProfilerEventsProcessor processor(&generator);
|
| + ProfilerEventsProcessor processor(&generator, NULL, 100);
|
| processor.Start();
|
| CpuProfiler profiler(isolate, profiles, &generator, &processor);
|
|
|
| @@ -201,7 +201,7 @@ TEST(TickEvents) {
|
| CpuProfilesCollection* profiles = new CpuProfilesCollection;
|
| profiles->StartProfiling("", 1, false);
|
| ProfileGenerator generator(profiles);
|
| - ProfilerEventsProcessor processor(&generator);
|
| + ProfilerEventsProcessor processor(&generator, NULL, 100);
|
| processor.Start();
|
| CpuProfiler profiler(isolate, profiles, &generator, &processor);
|
|
|
| @@ -270,7 +270,7 @@ TEST(Issue1398) {
|
| CpuProfilesCollection* profiles = new CpuProfilesCollection;
|
| profiles->StartProfiling("", 1, false);
|
| ProfileGenerator generator(profiles);
|
| - ProfilerEventsProcessor processor(&generator);
|
| + ProfilerEventsProcessor processor(&generator, NULL, 100);
|
| processor.Start();
|
| CpuProfiler profiler(isolate, profiles, &generator, &processor);
|
|
|
|
|