summaryrefslogtreecommitdiff
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 6f11916699..88f7bc0240 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -981,6 +981,13 @@ class Runtime {
return perfetto_javaheapprof_enabled_;
}
+ bool IsMonitorTimeoutEnabled() const {
+ return monitor_timeout_enable_;
+ }
+
+ uint64_t GetMonitorTimeoutNs() const {
+ return monitor_timeout_ns_;
+ }
// Return true if we should load oat files as executable or not.
bool GetOatFilesExecutable() const;
@@ -1239,6 +1246,9 @@ class Runtime {
// Whether Java code needs to be debuggable.
bool is_java_debuggable_;
+ bool monitor_timeout_enable_;
+ uint64_t monitor_timeout_ns_;
+
// Whether or not this application can be profiled by the shell user,
// even when running on a device that is running in user mode.
bool is_profileable_from_shell_ = false;