[ttrace] add more check points 75/166875/2
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 12 Jan 2018 07:23:55 +0000 (16:23 +0900)
committerjunsu choi <jsuya.choi@samsung.com>
Fri, 12 Jan 2018 07:51:42 +0000 (07:51 +0000)
- commit e3cb425e5366ef96895b4cc465b73a194f72ff7b

@tizen_feature

Change-Id: I939cc9f30b4a61bb0f6e4f5eee3309402abef157

src/lib/ecore_evas/ecore_evas.c

index 9cba7db..7f15def 100644 (file)
@@ -4811,12 +4811,28 @@ EAPI Ecore_Evas *
 ecore_evas_wayland_shm_new(const char *disp_name, unsigned int parent,
                           int x, int y, int w, int h, Eina_Bool frame)
 {
+//TIZEN_ONLY(20160628):  Add Performance log for cold booting
+#ifdef ENABLE_TTRACE
+   traceBegin(TTRACE_TAG_EFL, "ecore_evas_wayland_shm_new");
+#endif
+//
+
    Ecore_Evas *ee;
    Ecore_Evas *(*new)(const char *, unsigned int, int, int, int, int, Eina_Bool);
    Eina_Module *m = _ecore_evas_engine_load("wayland");
+//TIZEN_ONLY(20160628):  Add Performance log for cold booting
+#ifdef ENABLE_TTRACE
+   if (!m) traceEnd(TTRACE_TAG_EFL);
+#endif
+//
    EINA_SAFETY_ON_NULL_RETURN_VAL(m, NULL);
 
    new = eina_module_symbol_get(m, "ecore_evas_wayland_shm_new_internal");
+//TIZEN_ONLY(20160628):  Add Performance log for cold booting
+#ifdef ENABLE_TTRACE
+   if (!new) traceEnd(TTRACE_TAG_EFL);
+#endif
+//
    EINA_SAFETY_ON_NULL_RETURN_VAL(new, NULL);
 
    ee = new(disp_name, parent, x, y, w, h, frame);
@@ -4825,6 +4841,11 @@ ecore_evas_wayland_shm_new(const char *disp_name, unsigned int parent,
         ecore_evas_free(ee);
         return NULL;
      }
+//TIZEN_ONLY(20160628):  Add Performance log for cold booting
+#ifdef ENABLE_TTRACE
+   traceEnd(TTRACE_TAG_EFL);
+#endif
+//
    return ee;
 }