summaryrefslogtreecommitdiff
path: root/runtime/runtime.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-08-02 08:01:18 -0700
committer android-build-merger <android-build-merger@google.com> 2018-08-02 08:01:18 -0700
commit2c35abf99c38a670c2879efe9e0501743140bd67 (patch)
tree0a276ea9aa8305549b8c64758fdffd67aeb3ac2c /runtime/runtime.h
parent622d08eea369eab4ba17922b78e9b48218ce3746 (diff)
parente8d8755abbf6543b41e03c6b86a5e1db31289868 (diff)
Merge "ART: Add parameter for verifier timing log threshold"
am: e8d8755abb Change-Id: Icc54053efaa6972ba9d46695dca614041ae5a5c1
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 5f8a4eaefb..a98e8a81ed 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -779,6 +779,10 @@ class Runtime {
static constexpr int32_t kUnsetSdkVersion = 0u;
+ uint32_t GetVerifierLoggingThresholdMs() const {
+ return verifier_logging_threshold_ms_;
+ }
+
private:
static void InitPlatformSignalHandlers();
@@ -1088,6 +1092,8 @@ class Runtime {
std::unique_ptr<MemMap> protected_fault_page_;
+ uint32_t verifier_logging_threshold_ms_;
+
DISALLOW_COPY_AND_ASSIGN(Runtime);
};