From 4cd7db4adf5ede5acb3b0af94c0e1f953bf7da77 Mon Sep 17 00:00:00 2001 From: "j-h.choi" Date: Wed, 31 Aug 2022 08:28:58 +0900 Subject: [PATCH] Add log for profile data when the app runs Change-Id: Id3f6eb5559ea5c6da4efecc43315df8f1897a296 --- NativeLauncher/launcher/lib/core_runtime.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NativeLauncher/launcher/lib/core_runtime.cc b/NativeLauncher/launcher/lib/core_runtime.cc index 4fb9562..ee23fde 100644 --- a/NativeLauncher/launcher/lib/core_runtime.cc +++ b/NativeLauncher/launcher/lib/core_runtime.cc @@ -582,6 +582,7 @@ int CoreRuntime::launch(const char* appId, const char* root, const char* path, i if (exist(multiCoreJitProfile)) { setEnvironmentVariable("COMPlus_MultiCoreJitNoProfileGather", "1"); + _INFO("Completed loading of profile data for the %s", appId); } else { setEnvironmentVariable("COMPlus_MultiCoreJitNoProfileGather", "0"); // stop profiling and write collected data after delay if env value is set. @@ -594,6 +595,7 @@ int CoreRuntime::launch(const char* appId, const char* root, const char* path, i stopProfileAfterDelay(delay); } } + _INFO("Create the profile data for the %s", appId); } } free(localDataPath); -- 2.7.4