gnome-settings-daemon r590 - in trunk: . plugins/keyboard
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-settings-daemon r590 - in trunk: . plugins/keyboard
- Date: Thu, 6 Nov 2008 03:36:20 +0000 (UTC)
Author: behdad
Date: Thu Nov 6 03:36:20 2008
New Revision: 590
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=590&view=rev
Log:
2008-11-05 Behdad Esfahbod <behdad gnome org>
* plugins/keyboard/gsd-keyboard-xkb.c (gsd_keyboard_xkb_init): Add
some performance logging annotations around libxklavier calls.
Modified:
trunk/ChangeLog
trunk/plugins/keyboard/gsd-keyboard-xkb.c
Modified: trunk/plugins/keyboard/gsd-keyboard-xkb.c
==============================================================================
--- trunk/plugins/keyboard/gsd-keyboard-xkb.c (original)
+++ trunk/plugins/keyboard/gsd-keyboard-xkb.c Thu Nov 6 03:36:20 2008
@@ -352,7 +352,9 @@
logfile = fopen ("/tmp/gsdkx.log", "a");
xkl_set_log_appender (gsd_keyboard_log_appender);
#endif
+ gnome_settings_profile_start ("xkl_engine_get_instance");
xkl_engine = xkl_engine_get_instance (GDK_DISPLAY ());
+ gnome_settings_profile_end ("xkl_engine_get_instance");
if (xkl_engine) {
inited_ok = TRUE;
@@ -366,7 +368,9 @@
xkl_engine);
xkl_engine_backup_names_prop (xkl_engine);
gsd_keyboard_xkb_analyze_sysconfig ();
+ gnome_settings_profile_start ("gsd_keyboard_xkb_chk_lcl_xmm");
gsd_keyboard_xkb_chk_lcl_xmm ();
+ gnome_settings_profile_end ("gsd_keyboard_xkb_chk_lcl_xmm");
notify_desktop =
register_config_callback (client,
@@ -381,12 +385,19 @@
gdk_window_add_filter (NULL, (GdkFilterFunc)
gsd_keyboard_xkb_evt_filter,
NULL);
+
+ gnome_settings_profile_start ("xkl_engine_start_listen");
xkl_engine_start_listen (xkl_engine,
XKLL_MANAGE_LAYOUTS |
XKLL_MANAGE_WINDOW_STATES);
+ gnome_settings_profile_end ("xkl_engine_start_listen");
+ gnome_settings_profile_start ("apply_settings");
apply_settings ();
+ gnome_settings_profile_end ("apply_settings");
+ gnome_settings_profile_start ("apply_xkb_settings");
apply_xkb_settings ();
+ gnome_settings_profile_end ("apply_xkb_settings");
}
gnome_settings_profile_end (NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]