430 views
in System Integration by
Hello,

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,

Guillaume.

1 Answer

0 votes
by

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,

Manfred.

Embedded Wizard Website | Privacy Policy | Imprint

...