All Forums
 Microsoft Windows CE
 General CE
 Why does my application update slowly?
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 27 Jan 2004 :  13:36:18  Show Profile  Email Poster
Q: The windows in my application are redrawing themselves very slowly. What's going on?

There can be several reasons:
  1. Selfish Threads

    It may be that one of the threads in your application is not yielding control to give other processes (and drivers) a chance to run. In polling and main processing loops, make sure to include a Sleep() call to be a good citizen in your local multi-threaded community. Even a Sleep(0) makes a difference.


  2. Rogue Interrupts

    If you've developed your own connector board, make sure to tie down unused interrupt lines (EXT_IRQn, CARDBIRQ, etc).


  3. Too Much to Do

    Your application may be performing a lot of processing, pushing the limits of the CPU. Try the suggestions in #1 to balance responsiveness of the user interface with the processing needs of your application.

    If you are doing numerically-intensive operations, consider using optimizing the routines that are used most frequently. Intel offers the optimized GPP and IPP libraries for mathematical and data-intensive operations.

  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000