Add log for profile data when the app runs
authorj-h.choi <j-h.choi@samsung.com>
Tue, 30 Aug 2022 23:28:58 +0000 (08:28 +0900)
committer조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Wed, 31 Aug 2022 00:08:28 +0000 (09:08 +0900)
Change-Id: Id3f6eb5559ea5c6da4efecc43315df8f1897a296

NativeLauncher/launcher/lib/core_runtime.cc

index 4fb9562..ee23fde 100644 (file)
@@ -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);