summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_main.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-11-06 10:52:36 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-11-07 16:08:39 -0800
commitdd40079185577c5330f72817e0385aa9cda2e7f4 (patch)
tree2f36395c55688eb73c0b1c40c79cffa5bcc45182 /src/lib/elementary/elm_main.c
parent25b6a280c087d39f66e30c9c4d07f86b97c989d6 (diff)
ecore,elementary: move startup time accounting in ecore.
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index cb96aa5b50..3b089583ee 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -424,6 +424,14 @@ elm_init(int argc, char **argv)
424 _elm_config->web_backend = "none"; 424 _elm_config->web_backend = "none";
425 _elm_code_parse_setup(); 425 _elm_code_parse_setup();
426 426
427 // For backward compability, EFL startup time and ELM startup time are made
428 // identical. It is fine to do it here as we are finishing initialisation
429 // and the startup time should have been accounted earlier.
430 if (_elm_startup_time >= 0)
431 if (_efl_startup_time <= 0)
432 _efl_startup_time = _elm_startup_time;
433 _elm_startup_time = _efl_startup_time;
434
427 return _elm_init_count; 435 return _elm_init_count;
428} 436}
429 437