in System Integration by

What is the worst case execution timing of the function, EwProcess(), which is called inside GuiThread().

I would like to know if we pre-empt this task with other high prio task, will there be any perfomance degradation?


1 Answer

0 votes
Best answer


EwProcess() represents the main loop of every Embedded Wizard GUI application. This main loop is responsible to provide all user inputs to the UI application, to start the processing of timers and signals, to take care for the update of the display and finally to start the garbage collection.

As you can imagine, the runtime for one loop (= one call of the function EwProcess()) dependes on the complexity of your GUI application, the user inputs, the amount of graphical objects that have to be redrawn.... And it depends on your target system (with or without hardware acceleration) and on the CPU speed...

With other words: It is not possible to predict the execution time. Of course, you can do measurements within your application.

Due to the fact that Embedded Wizard GUI applications are running in a cooperative manner, you can decide how much CPU time will be spent for the GUI thread and how much CPU time is necessary for other worker threads (e.g. to make some data processing).

I hope this helps...

Best regards,


Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint