How to measure the time it takes to do an action on screen?

asked Feb 12, 2019 in System Integration by GuiliuG

I'd like to measure how long it takes for a specific action to be performed on screen (say to swap an image for another one for instance).

Any tips and hints to guide me on how I can accomplish that ?

Thanks in advance,


1 Answer

0 votes
answered Feb 12, 2019 by Manfred Schweyer

Hi Guillaume,

if you want make some performance measurements, there are several possibilities. 

In case you want to measure a timespan within your GUI application and it is sufficient to get the time in milliseconds, you can call the function EwGetTicks() within a piece of native code (at start and stop) and calculate the delta. This function returns the number of milliseconds since system start.

In case you want to use some precision timer from your underlying system, you can access the counter/timer registers also from some native code.

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