Hi,

for some time I'm facing high load of E17 and X.

I attached ltrace to enlightenment and collected data for 3 seconds.
Thise are some higher numbers of calls of functions:

42907 ecore_x_screensaver_set
32809 free
32800 calloc
32792 eina_array_step_set
32792 eina_array_grow
32792 eina_array_flush
21453 ecore_x_dpms_enabled_set
10931 eet_clearcache
10931 edje_thaw
10931 edje_freeze
10931 ecore_x_flush
10930 evas_render_updates
1391 evas_render_updates_free
1391 ecore_x_window_cursor_set
1391 ecore_x_cursor_new
1391 ecore_x_cursor_free
1287 memcpy
679 ecore_file_mv
621 eina_hash_find


Could someone explain me, why ecore_x_screensaver_set is called 14300
times per second?

I attached GDB and set break point to this function, compared
backtrace and it always looks similar:
(gdb) bt
#0  ecore_x_screensaver_set (timeout=10, interval=10,
prefer_blanking=0, allow_exposures=0) at ecore_x_screensaver.c:69
#1  0x00000000004da619 in e_screensaver_force_update () at
e_screensaver.c:71
#2  0x00000000004da705 in _e_screensaver_handler_screensaver_notify_cb
(data=<optimized out>, type=<optimized out>, event=
    0x288f670) at e_screensaver.c:231
#3  0x00007fc4f656bb1c in _ecore_call_handler_cb (event=<optimized
out>, type=<optimized out>, data=<optimized out>, func=<optimized out>) at ecore_private.h:319
#4  _ecore_event_call () at ecore_events.c:559
#5  0x00007fc4f65701a9 in _ecore_main_loop_iterate_internal
(once_only=once_only@entry=0) at ecore_main.c:1900
#6  0x00007fc4f6570737 in ecore_main_loop_begin () at ecore_main.c:934
#7  0x0000000000439869 in main (argc=<optimized out>, argv=<optimized
out>) at e_main.c:1060


Also ecore_x_dpms_enabled_set is used heavily.


So, WTF?

Best regards,

Sleep_Walker

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to