emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redisplay: NS port, high CPU load


From: David Reitter
Subject: Re: Redisplay: NS port, high CPU load
Date: Wed, 8 Jun 2016 20:44:49 +1000

On Jun 8, 2016, at 5:50 PM, Anders Lindgren <address@hidden> wrote:

> Enable NSTRACE (this is done in nsterm.h) -- this might give you a bit more 
> information about what happens on the NS port side. You have to launch Emacs 
> from a terminal window, though.

It looks like some tool bar items are triggering this.  Below is what it cycles 
through.  Hiding the toolbar, switching the buffer, or turning off the major 
mode makes it go away.  Local variable, non-permanent?

nsmenu.m  : 1134: [396624]  update_frame_tool_bar
nsmenu.m  : 1458: [396625]  | [EmacsToolbar clearActive]
nsmenu.m  : 1551: [396626]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396627]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396628]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396629]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396630]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396631]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396632]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396633]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396634]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396635]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396636]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396637]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396638]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396639]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1551: [396640]  | [EmacsToolbar addDisplayItemWithImage: ...]
nsmenu.m  : 1509: [396641]  | [EmacsToolbar changed]
nsfns.m   :  529: [396642]  x_implicitly_set_name
nsfns.m   :  579: [396643]  | ns_set_name_as_filename
nsterm.m  : 4715: [396644]  ns_redeem_scroll_bar
nsterm.m  : 9207: [396645]  | [EmacsScroller reprieve]
nsterm.m  : 4530: [396646]  ns_set_vertical_scroll_bar
nsterm.m  : 2654: [396647]  | ns_clear_frame_area
nsterm.m  : 4715: [396648]  ns_redeem_scroll_bar
nsterm.m  : 4743: [396649]  ns_judge_scroll_bars
nsterm.m  : 9215: [396650]  | [EmacsScroller judge]
nsterm.m  : 1076: [396651]  ns_update_begin
nsterm.m  : 1007: [396652]  | ns_update_auto_hide_menu_bar
nsterm.m  : 8225: [396653]  | [EmacsView isFullscreen] ->> 0
nsterm.m  : 1156: [396654]  ns_update_window_begin
nsterm.m  : 1187: [396655]  ns_update_window_end
nsterm.m  : 3004: [396656]  | ns_draw_window_cursor
nsterm.m  : 1156: [396657]  ns_update_window_begin
nsterm.m  : 1187: [396658]  ns_update_window_end
nsterm.m  : 3004: [396659]  | ns_draw_window_cursor
nsterm.m  : 1237: [396660]  ns_update_end
nsterm.m  : 1222: [396661]  | ns_flush
nsterm.m  : 2499: [396662]  ns_frame_up_to_date
nsterm.m  : 1076: [396663]  | ns_update_begin
nsterm.m  : 1007: [396664]  | | ns_update_auto_hide_menu_bar
nsterm.m  : 8225: [396665]  | | [EmacsView isFullscreen] ->> 0
nsterm.m  : 1237: [396666]  | ns_update_end
nsterm.m  : 1222: [396667]  | | ns_flush
nsfns.m   :  529: [396668]  x_implicitly_set_name
nsfns.m   :  579: [396669]  | ns_set_name_as_filename
nsmenu.m  :  122: [396670]  ns_update_menubar
nsterm.m  : 4696: [396671]  ns_condemn_scroll_bars
nsterm.m  : 9199: [396672]  | [EmacsScroller condemn]
nsmenu.m  : 1134: [396673]  update_frame_tool_bar
nsmenu.m  : 1458: [396674]  | [EmacsToolbar clearActive]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]