Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index b10e6889ec8f9bd6f7d283a3d2f4eff049b7ba7a..20af07054a6c2f4359533d2d4603c3764115ef4f 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -20,7 +20,7 @@ using i::TokenEnumerator; |
TEST(StartStop) { |
CpuProfilesCollection profiles; |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, NULL, 1000); |
processor.Start(); |
processor.Stop(); |
processor.Join(); |
@@ -81,7 +81,7 @@ TEST(CodeEvents) { |
CpuProfilesCollection profiles; |
profiles.StartProfiling("", 1); |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, NULL, 1000); |
processor.Start(); |
// Enqueue code creation events. |
@@ -142,7 +142,7 @@ TEST(TickEvents) { |
CpuProfilesCollection profiles; |
profiles.StartProfiling("", 1); |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, NULL, 1000); |
processor.Start(); |
processor.CodeCreateEvent(i::Logger::BUILTIN_TAG, |
@@ -232,7 +232,7 @@ TEST(Issue1398) { |
CpuProfilesCollection profiles; |
profiles.StartProfiling("", 1); |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, NULL, 1000); |
processor.Start(); |
processor.CodeCreateEvent(i::Logger::BUILTIN_TAG, |