*** empty log message ***

svn path=/trunk/boinc/; revision=6244
This commit is contained in:
Rom Walton 2005-05-24 21:46:20 +00:00
parent 6052f03d18
commit 1575fe938e
2 changed files with 13 additions and 0 deletions

View File

@ -7030,3 +7030,11 @@ Rom 24 May 2005
clientgui/
BOINCGUIApp.cpp
MainFrame.cpp, .h
Rom 24 May 2005
- Throttle back how often the UI is aloud to update itself to two times
a second, the Mac was consuming 12% of the CPU just processing events
in the BOINC Manager
clientgui/
MainFrame.cpp

View File

@ -220,6 +220,11 @@ CMainFrame::CMainFrame(wxString strTitle) :
SetStatusBarPane(0);
// Limit the number of times the UI can update itself to two times a second
// NOTE: Linux and Mac were updating several times a second and eating
// CPU time
wxUpdateUIEvent::SetUpdateInterval(500);
// The second half of the initialization process picks up in the OnFrameRender()
// routine since the menus' and status bars' are drawn in the frameworks
// on idle routines, on idle events are sent in between the end of the