mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6244
This commit is contained in:
parent
6052f03d18
commit
1575fe938e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue