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

Unified Diff: test/cctest/test-cpu-profiler.cc

Issue 21105003: Simplify sampling rate calculation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
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..d9ecc41a7499e39094fc644f2c79799c7d474b3c 100644
--- a/test/cctest/test-cpu-profiler.cc
+++ b/test/cctest/test-cpu-profiler.cc
@@ -222,7 +222,7 @@ TEST(TickEvents) {
processor.StopSynchronously();
processor.Join();
- CpuProfile* profile = profiles->StopProfiling("", 1);
+ CpuProfile* profile = profiles->StopProfiling("");
CHECK_NE(NULL, profile);
// Check call trees.
@@ -286,7 +286,7 @@ TEST(Issue1398) {
processor.StopSynchronously();
processor.Join();
- CpuProfile* profile = profiles->StopProfiling("", 1);
+ CpuProfile* profile = profiles->StopProfiling("");
CHECK_NE(NULL, profile);
int actual_depth = 0;

Powered by Google App Engine
This is Rietveld 408576698