Relax limits for profiler options
This gives more space for experiments and makes debugging easier.
Change-Id: I16b07746098ab2bd6a321d762a80cfea3f7a725d
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index 29868e3..5d9a3ae 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -553,11 +553,11 @@
} else if (option == "-Xprofile-start-immediately") {
profiler_options_.start_immediately_ = true;
} else if (StartsWith(option, "-Xprofile-top-k-threshold:")) {
- if (!ParseDouble(option, ':', 10.0, 90.0, &profiler_options_.top_k_threshold_)) {
+ if (!ParseDouble(option, ':', 0.0, 100.0, &profiler_options_.top_k_threshold_)) {
return false;
}
} else if (StartsWith(option, "-Xprofile-top-k-change-threshold:")) {
- if (!ParseDouble(option, ':', 10.0, 90.0, &profiler_options_.top_k_change_threshold_)) {
+ if (!ParseDouble(option, ':', 0.0, 100.0, &profiler_options_.top_k_change_threshold_)) {
return false;
}
} else if (StartsWith(option, "-implicit-checks:")) {