| Index: test/cctest/test-cpu-profiler.cc
|
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc
|
| index fe5e2788ff3f96f51c8408e6237bdb394912ae1f..1b1d1be2bc6c189b9bbfcfe54297015ba2440b50 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);
|
|
|
|
|