diff options
-rw-r--r-- | Managed/Tizen.Runtime/Profiler.cs | 1 | ||||
-rw-r--r-- | NativeLauncher/tool/ni_common.cc | 13 |
2 files changed, 1 insertions, 13 deletions
diff --git a/Managed/Tizen.Runtime/Profiler.cs b/Managed/Tizen.Runtime/Profiler.cs index 9c40707..c9c95f2 100644 --- a/Managed/Tizen.Runtime/Profiler.cs +++ b/Managed/Tizen.Runtime/Profiler.cs @@ -23,7 +23,6 @@ namespace Tizen.Runtime { public class Profiler { - const string profilePath = "/home/owner/data/.__tizen_candidate_profile_data"; private static void stop() diff --git a/NativeLauncher/tool/ni_common.cc b/NativeLauncher/tool/ni_common.cc index 0b3134f..cecda2a 100644 --- a/NativeLauncher/tool/ni_common.cc +++ b/NativeLauncher/tool/ni_common.cc @@ -75,7 +75,7 @@ static const char* CROSSGEN_OPT_SINGLE_FILE_COMPILATION = "--single-file-compila //static const char* CROSSGEN_OPT_PARALLELISM = "--parallelism"; //static const char* CROSSGEN_OPT_PARALLELISM_COUNT = "5"; static const char* CROSSGEN_OPT_RESILIENT = "--resilient"; -static const char* CROSSGEN_OPT_OPTIMIZE = "-O"; +//static const char* CROSSGEN_OPT_OPTIMIZE = "-O"; static const char* CROSSGEN_OPT_OPTIMIZE_TIME = "--Ot"; static const char* CROSSGEN_OPT_INPUTBUBBLE = "--inputbubble"; static const char* CROSSGEN_OPT_COMPILE_BUBBLE_GENERICS = "--compilebubblegenerics"; @@ -111,17 +111,6 @@ static void waitInterval() } #ifdef UNIQUE_DEFAULT_BASE_ADDR_SUPPORT -static uintptr_t getFileSize(const std::string& path) -{ - struct stat sb; - - if (stat(path.c_str(), &sb) == 0) { - return sb.st_size; - } - - return 0; -} - // Get next base address to be used for system ni image from file // __SYSTEM_BASE_FILE should be checked for existance before calling this function static uintptr_t getNextBaseAddrFromFile() |