Add log for profile data when the app runs
[platform/core/dotnet/launcher.git] / 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);